diff --git a/Config/ProvisionTests/Dockerfiles/arch b/Config/ProvisionTests/Dockerfiles/arch index 32eda2d..20dea6b 100644 --- a/Config/ProvisionTests/Dockerfiles/arch +++ b/Config/ProvisionTests/Dockerfiles/arch @@ -1,16 +1,16 @@ # Create a VM for testing Ansible provisioning. -FROM archlinux:base +FROM archlinux:base-devel ARG PACKAGES ENV PACKAGES="$PACKAGES" ARG EXTRA_ARCH ENV EXTRA_ARCH="$EXTRA_ARCH" -# Use the image as it comes, do not upgrade it, so that it stays reproducible. -#RUN pacman -Syu --noconfirm +# Arch is rolling, and therefore recommends updating the container immediately. +RUN pacman -Syyu --noconfirm -RUN pacman -Sy --noconfirm $PACKAGES $EXTRA_ARCH +RUN pacman -Syy --noconfirm $PACKAGES $EXTRA_ARCH COPY bin/main.sh /root/main.sh RUN chmod +x /root/main.sh