docker/win32: add initial Dockerfile tests
This commit is contained in:
parent
cf5f141018
commit
1e0191eda6
31
docker/win32/Dockerfile
Normal file
31
docker/win32/Dockerfile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user