Mention why the upgrade commands are commented.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user