From 1b220143f7732a0a8de92a92f73210b7f2fecfeb Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 8 Sep 2023 14:30:22 +0800 Subject: [PATCH] update node --- build-image/node/Dockerfile_16.17.1 | 8 ++++++++ build-image/node/Dockerfile_18.17.1 | 2 +- build-image/node/{Dockerfile => Dockerfile_nvm} | 0 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 build-image/node/Dockerfile_16.17.1 rename build-image/node/{Dockerfile => Dockerfile_nvm} (100%) diff --git a/build-image/node/Dockerfile_16.17.1 b/build-image/node/Dockerfile_16.17.1 new file mode 100644 index 0000000..d8672f8 --- /dev/null +++ b/build-image/node/Dockerfile_16.17.1 @@ -0,0 +1,8 @@ +FROM node:16.17.1 + +LABEL smallkoudai + +RUN apt-get update && \ + apt-get install -y --no-install-recommends ca-certificates curl async && \ + rm -rf /var/lib/apt/lists/ && \ + git config --global --add safe.directory '*' diff --git a/build-image/node/Dockerfile_18.17.1 b/build-image/node/Dockerfile_18.17.1 index 90a64b6..3cdcf20 100644 --- a/build-image/node/Dockerfile_18.17.1 +++ b/build-image/node/Dockerfile_18.17.1 @@ -1,6 +1,6 @@ FROM node:18.17.1 -LABEL ycz008 +LABEL smallkoudai RUN apt-get update && \ apt-get install -y --no-install-recommends ca-certificates curl && \ diff --git a/build-image/node/Dockerfile b/build-image/node/Dockerfile_nvm similarity index 100% rename from build-image/node/Dockerfile rename to build-image/node/Dockerfile_nvm