31 lines
1.3 KiB
Docker
31 lines
1.3 KiB
Docker
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 |