diff --git a/docker/win32/Dockerfile b/docker/win32/Dockerfile new file mode 100644 index 0000000..ef38cae --- /dev/null +++ b/docker/win32/Dockerfile @@ -0,0 +1,31 @@ +FROM nerdcruft/base + +# Select a mirror +RUN pacman -Sy --noconfirm --noprogressbar pacman-contrib && \ + cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup \ + && rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist + +# Update base system +RUN pacman -Sy && \ + pacman -S archlinux-keyring --noconfirm --noprogressbar --quiet && \ + pacman -S pacman --noconfirm --noprogressbar --quiet && \ + pacman-db-upgrade && \ + pacman -Su --noconfirm --noprogressbar --quiet + +RUN echo "[ownstuff-testing]" >> /etc/pacman.conf && \ + echo "SigLevel = Optional TrustAll" >> /etc/pacman.conf && \ + echo "Server = https://martchus.no-ip.biz/repo/arch/\$repo/os/\$arch" >> /etc/pacman.conf && \ + echo "Server = https://ftp.f3l.de/~martchus/\$repo/os/\$arch" >> /etc/pacman.conf && \ + echo "[ownstuff]" >> /etc/pacman.conf && \ + echo "SigLevel = Optional TrustAll" >> /etc/pacman.conf && \ + echo "Server = https://martchus.no-ip.biz/repo/arch/\$repo/os/\$arch" >> /etc/pacman.conf && \ + echo "Server = https://ftp.f3l.de/~martchus/\$repo/os/$arch" >> /etc/pacman.conf && \ + true + +RUN pacman -Syu + +RUN pacman -S --noconfirm mingw-w64-gcc +RUN pacman -S --noconfirm mingw-w64-binutils +RUN pacman -S --noconfirm mingw-w64-crt +RUN pacman -S --noconfirm mingw-w64-headers +RUN pacman -S --noconfirm mingw-w64-winpthreads \ No newline at end of file