Mention why the upgrade commands are commented.

This commit is contained in:
2025-10-22 20:58:54 -07:00
parent c0a220cebe
commit 91dfbca76e
5 changed files with 10 additions and 0 deletions

View File

@@ -7,7 +7,9 @@ ENV PACKAGES="$PACKAGES"
ARG EXTRA_ARCH ARG EXTRA_ARCH
ENV EXTRA_ARCH="$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 -Syu --noconfirm
RUN pacman -Sy --noconfirm $PACKAGES $EXTRA_ARCH RUN pacman -Sy --noconfirm $PACKAGES $EXTRA_ARCH
COPY bin/main.sh /root/main.sh COPY bin/main.sh /root/main.sh

View File

@@ -7,7 +7,9 @@ ENV PACKAGES="$PACKAGES"
ARG EXTRA_DEBIAN ARG EXTRA_DEBIAN
ENV EXTRA_DEBIAN="$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 dist-upgrade -y
RUN apt update && apt install -y $PACKAGES $EXTRA_DEBIAN RUN apt update && apt install -y $PACKAGES $EXTRA_DEBIAN
COPY bin/main.sh /root/main.sh COPY bin/main.sh /root/main.sh

View File

@@ -7,7 +7,9 @@ ENV PACKAGES="$PACKAGES"
ARG EXTRA_FEDORA ARG EXTRA_FEDORA
ENV EXTRA_FEDORA="$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 upgrade --refresh -y
RUN dnf install --refresh -y $PACKAGES $EXTRA_FEDORA RUN dnf install --refresh -y $PACKAGES $EXTRA_FEDORA
COPY bin/main.sh /root/main.sh COPY bin/main.sh /root/main.sh

View File

@@ -7,7 +7,9 @@ ENV PACKAGES="$PACKAGES"
ARG EXTRA_OPENSUSE ARG EXTRA_OPENSUSE
ENV EXTRA_OPENSUSE="$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 dist-upgrade -y
RUN zypper -n refresh && zypper -n install -y $PACKAGES $EXTRA_OPENSUSE RUN zypper -n refresh && zypper -n install -y $PACKAGES $EXTRA_OPENSUSE
COPY bin/main.sh /root/main.sh COPY bin/main.sh /root/main.sh

View File

@@ -7,7 +7,9 @@ ENV PACKAGES="$PACKAGES"
ARG EXTRA_UBUNTU ARG EXTRA_UBUNTU
ENV EXTRA_UBUNTU="$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 dist-upgrade -y
RUN apt update && apt install -y $PACKAGES $EXTRA_UBUNTU RUN apt update && apt install -y $PACKAGES $EXTRA_UBUNTU
COPY bin/main.sh /root/main.sh COPY bin/main.sh /root/main.sh