Move installed packages printing
This commit is contained in:
@@ -38,8 +38,7 @@ RUN set -Eeuxo pipefail && \
|
||||
apt -yq update && \
|
||||
printf "Updated apt lists and upgraded packages\n\n" && \
|
||||
apt -yq install --no-install-recommends ssh lsb-release gawk jq curl git wget sudo gnupg-agent ca-certificates software-properties-common apt-transport-https libyaml-0-2 zstd unzip && \
|
||||
printf "Installed base utils" && \
|
||||
dpkg-query -f '${binary:Package}\n' -W && \
|
||||
printf "Installed base utils\n" && \
|
||||
printf "Cleaning image" && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
@@ -55,7 +54,8 @@ RUN set -Eeuxo pipefail && \
|
||||
echo "deb-src https://deb.nodesource.com/node_${NODE_VERSION}.x $DISTRO main" | tee -a /etc/apt/sources.list.d/nodesource.list && \
|
||||
apt -yq update && \
|
||||
apt -yq install --no-install-recommends nodejs="${NODE_VERSION}*" && \
|
||||
printf "Installed Node.JS $(node -v)" && \
|
||||
printf "Installed Node.JS $(node -v)\n" && \
|
||||
dpkg-query -f '${binary:Package}\n' -W && \
|
||||
printf "Cleaning image" && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
|
||||
@@ -40,8 +40,7 @@ RUN set -Eeuxo pipefail && \
|
||||
apt -yq update && \
|
||||
printf "Updated apt lists and upgraded packages\n\n" && \
|
||||
apt -yq install --no-install-recommends lsb-release gawk jq curl git wget sudo gnupg-agent ca-certificates software-properties-common apt-transport-https zstd unzip && \
|
||||
printf "Installed base utils" && \
|
||||
dpkg-query -f '${binary:Package}\n' -W && \
|
||||
printf "Installed base utils\n" && \
|
||||
printf "Cleaning image" && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
@@ -57,7 +56,8 @@ RUN set -Eeuxo pipefail && \
|
||||
echo "deb-src https://deb.nodesource.com/node_${NODE_VERSION}.x $DISTRO main" | tee -a /etc/apt/sources.list.d/nodesource.list && \
|
||||
apt -yq update && \
|
||||
apt -yq install --no-install-recommends nodejs="${NODE_VERSION}*" && \
|
||||
printf "Installed Node.JS $(node -v)" && \
|
||||
printf "Installed Node.JS $(node -v)\n" && \
|
||||
dpkg-query -f '${binary:Package}\n' -W && \
|
||||
printf "Cleaning image" && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
|
||||
Reference in New Issue
Block a user