2020-04-25 00:12:02 +00:00
|
|
|
FROM archlinux:latest
|
2019-03-23 00:27:11 +00:00
|
|
|
MAINTAINER yuzu
|
2020-04-25 00:12:02 +00:00
|
|
|
# Add mingw-repo "ownstuff" is a AUR with an up to date mingw64
|
2020-05-01 04:39:10 +00:00
|
|
|
RUN useradd -m -s /bin/bash yuzu && mkdir -p /tmp/pkgs && \
|
|
|
|
echo "[ownstuff]" >> /etc/pacman.conf && \
|
|
|
|
echo "SigLevel = Optional TrustAll" >> /etc/pacman.conf && \
|
|
|
|
echo "Server = https://martchus.no-ip.biz/repo/arch/ownstuff/os/\$arch" >> /etc/pacman.conf && \
|
|
|
|
pacman -Syu --noconfirm && \
|
|
|
|
pacman -Syu --noconfirm && \
|
|
|
|
pacman -S --needed --noconfirm --noprogressbar \
|
2020-04-25 00:12:02 +00:00
|
|
|
base-devel \
|
|
|
|
gnupg \
|
|
|
|
wget \
|
|
|
|
git \
|
|
|
|
python-pip \
|
|
|
|
python \
|
|
|
|
ccache \
|
|
|
|
p7zip \
|
|
|
|
cmake \
|
|
|
|
ninja \
|
|
|
|
mingw-w64-gcc \
|
|
|
|
mingw-w64-tools \
|
|
|
|
mingw-w64-sdl2 \
|
|
|
|
mingw-w64-qt5-base \
|
|
|
|
mingw-w64-qt5-tools \
|
|
|
|
mingw-w64-qt5-graphicaleffects \
|
|
|
|
mingw-w64-qt5-multimedia \
|
|
|
|
mingw-w64-qt5-winextras \
|
|
|
|
python2 \
|
|
|
|
mingw-w64-opus \
|
2020-05-01 04:39:10 +00:00
|
|
|
mingw-w64-winpthreads && \
|
|
|
|
pacman -Scc --noconfirm && \
|
|
|
|
rm -rf /usr/share/man/ /tmp/ /var/tmp/
|
2020-04-25 00:12:02 +00:00
|
|
|
|
2020-05-01 04:39:10 +00:00
|
|
|
COPY mingw-setup.sh /tmp/
|
|
|
|
RUN cd /tmp/ && bash -e mingw-setup.sh
|
2020-04-25 00:12:02 +00:00
|
|
|
# Compatibility with the old Ubuntu MingW image
|
|
|
|
RUN ln -s /usr/x86_64-w64-mingw32/lib/qt /usr/x86_64-w64-mingw32/lib/qt5
|
|
|
|
|
|
|
|
# Cleanup
|
|
|
|
USER root
|