Move installed packages printing

This commit is contained in:
hackercat
2021-01-22 07:15:15 +00:00
parent 5dcb54af20
commit 3b7189f165
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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/* && \
+3 -3
View File
@@ -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/* && \