sync Dockerfile, add new lines
This commit is contained in:
@@ -39,15 +39,15 @@ RUN set -Eeuxo pipefail && \
|
||||
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\n" && \
|
||||
printf "Cleaning image" && \
|
||||
printf "Cleaning image\n" && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /tmp/* && \
|
||||
printf "Cleaned up image"
|
||||
printf "Cleaned up image\n"
|
||||
|
||||
# > Install Node.JS
|
||||
RUN set -Eeuxo pipefail && \
|
||||
printf "Installing Node.JS" && \
|
||||
printf "Installing Node.JS\n" && \
|
||||
curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
|
||||
DISTRO="$(lsb_release -s -c)" && \
|
||||
echo "deb https://deb.nodesource.com/node_${NODE_VERSION}.x $DISTRO main" | tee /etc/apt/sources.list.d/nodesource.list && \
|
||||
@@ -56,11 +56,11 @@ RUN set -Eeuxo pipefail && \
|
||||
apt -yq install --no-install-recommends nodejs="${NODE_VERSION}*" && \
|
||||
printf "Installed Node.JS $(node -v)\n" && \
|
||||
dpkg-query -f '${binary:Package}\n' -W && \
|
||||
printf "Cleaning image" && \
|
||||
printf "Cleaning image\n" && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /tmp/* && \
|
||||
printf "Cleaned up image"
|
||||
printf "Cleaned up image\n"
|
||||
|
||||
# > Home repository
|
||||
LABEL org.opencontainers.image.source="https://github.com/CatTheHacker/docker-images"
|
||||
|
||||
Reference in New Issue
Block a user