diff --git a/Dockerfile.arch b/Dockerfile.arch index 387035cd..ac458e6a 100644 --- a/Dockerfile.arch +++ b/Dockerfile.arch @@ -1,12 +1,15 @@ -FROM archlinux +FROM archlinux:latest ENV TERM=xterm ENV CC="ccache gcc" -RUN pacman -Syu --noconfirm +RUN pacman -Syyu --noconfirm || true +RUN pacman -Syyu --noconfirm + # reflector is optional - if it fails due to network issues, continue with default mirrorlist RUN pacman -S --needed --noconfirm reflector && \ - (reflector --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist || true) + (reflector --latest 20 --protocol https --save --sort rate /etc/pacman.d/mirrorlist || true) +RUN export DEBUGINFOD_URLS="https://debuginfod.archlinux.org" RUN pacman-key --init RUN pacman -S --needed --noconfirm \ autoconf \