Change to use base-devel tag on Arch and also update the system since it is a rolling distro.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user