diff --git a/Config/ProvisionTests/Dockerfiles/arch b/Config/ProvisionTests/Dockerfiles/arch index 3bd8298..32eda2d 100644 --- a/Config/ProvisionTests/Dockerfiles/arch +++ b/Config/ProvisionTests/Dockerfiles/arch @@ -7,7 +7,9 @@ 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 + RUN pacman -Sy --noconfirm $PACKAGES $EXTRA_ARCH COPY bin/main.sh /root/main.sh diff --git a/Config/ProvisionTests/Dockerfiles/debian b/Config/ProvisionTests/Dockerfiles/debian index 73d65d2..15156b7 100644 --- a/Config/ProvisionTests/Dockerfiles/debian +++ b/Config/ProvisionTests/Dockerfiles/debian @@ -7,7 +7,9 @@ ENV PACKAGES="$PACKAGES" ARG EXTRA_DEBIAN ENV EXTRA_DEBIAN="$EXTRA_DEBIAN" +# Use the image as it comes, do not upgrade it, so that it stays reproducible. #RUN apt update && apt dist-upgrade -y + RUN apt update && apt install -y $PACKAGES $EXTRA_DEBIAN COPY bin/main.sh /root/main.sh diff --git a/Config/ProvisionTests/Dockerfiles/fedora b/Config/ProvisionTests/Dockerfiles/fedora index a0655af..3fb12bb 100644 --- a/Config/ProvisionTests/Dockerfiles/fedora +++ b/Config/ProvisionTests/Dockerfiles/fedora @@ -7,7 +7,9 @@ ENV PACKAGES="$PACKAGES" ARG EXTRA_FEDORA ENV EXTRA_FEDORA="$EXTRA_FEDORA" +# Use the image as it comes, do not upgrade it, so that it stays reproducible. #RUN dnf upgrade --refresh -y + RUN dnf install --refresh -y $PACKAGES $EXTRA_FEDORA COPY bin/main.sh /root/main.sh diff --git a/Config/ProvisionTests/Dockerfiles/opensuse b/Config/ProvisionTests/Dockerfiles/opensuse index a41c21f..06e9392 100644 --- a/Config/ProvisionTests/Dockerfiles/opensuse +++ b/Config/ProvisionTests/Dockerfiles/opensuse @@ -7,7 +7,9 @@ ENV PACKAGES="$PACKAGES" ARG EXTRA_OPENSUSE ENV EXTRA_OPENSUSE="$EXTRA_OPENSUSE" +# Use the image as it comes, do not upgrade it, so that it stays reproducible. #RUN zypper -n refresh && zypper -n dist-upgrade -y + RUN zypper -n refresh && zypper -n install -y $PACKAGES $EXTRA_OPENSUSE COPY bin/main.sh /root/main.sh diff --git a/Config/ProvisionTests/Dockerfiles/ubuntu b/Config/ProvisionTests/Dockerfiles/ubuntu index f4ab326..36d1b45 100644 --- a/Config/ProvisionTests/Dockerfiles/ubuntu +++ b/Config/ProvisionTests/Dockerfiles/ubuntu @@ -7,7 +7,9 @@ ENV PACKAGES="$PACKAGES" ARG EXTRA_UBUNTU ENV EXTRA_UBUNTU="$EXTRA_UBUNTU" +# Use the image as it comes, do not upgrade it, so that it stays reproducible. #RUN apt update && apt dist-upgrade -y + RUN apt update && apt install -y $PACKAGES $EXTRA_UBUNTU COPY bin/main.sh /root/main.sh