From f3f6a8ff1c174547721516536b87a81a7aaaf7e5 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Thu, 3 Aug 2023 16:43:03 +0800 Subject: [PATCH] fix: .drone.yml --- build-image/node/Dockerfile | 11 +++++++++++ build-image/node/{Dockerfile_coder => Dockerfile_ide} | 0 2 files changed, 11 insertions(+) create mode 100644 build-image/node/Dockerfile rename build-image/node/{Dockerfile_coder => Dockerfile_ide} (100%) diff --git a/build-image/node/Dockerfile b/build-image/node/Dockerfile new file mode 100644 index 0000000..4b83fe3 --- /dev/null +++ b/build-image/node/Dockerfile @@ -0,0 +1,11 @@ +FROM ubuntu:23.04 + +LABEL smallkoudai + +RUN apt-get update && \ + apt-get install -y --no-install-recommends ca-certificates curl git git-lfs && \ + mkdir -p $HOME/.nvm && \ + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash && \ + . $HOME/.bashrc && \ + nvm install 16.20.1 && nvm alias default && nvm install 18.17.0 && nvm install 20.5.0 +ENV NVM_DIR=$HOME/.nvm \ No newline at end of file diff --git a/build-image/node/Dockerfile_coder b/build-image/node/Dockerfile_ide similarity index 100% rename from build-image/node/Dockerfile_coder rename to build-image/node/Dockerfile_ide