diff --git a/build-image/node/Dockerfile_coder b/build-image/node/Dockerfile_coder new file mode 100644 index 0000000..a586202 --- /dev/null +++ b/build-image/node/Dockerfile_coder @@ -0,0 +1,15 @@ +FROM ubuntu:22.04 + +LABEL smallkoudai + +ARG VERSION=v16.17.1 +ENV PATH=$PATH:/usr/local/node-${VERSION}/bin +RUN apt update && \ + apt install -y build-essential g++ libx11-dev libxkbfile-dev libsecret-1-dev python-is-python3 git git-lfs quilt jq wget rsync && \ + echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list && \ + apt update && apt install -y nfpm && apt clean && \ + wget https://nodejs.org/dist/${VERSION}/node-${VERSION}-linux-x64.tar.gz && \ + tar xf node-${VERSION}-linux-x64.tar.gz && \ + mv node-${VERSION}-linux-x64 /usr/local/node-${VERSION} && \ + rm -f node-${VERSION}-linux-x64.tar.gz && \ + npm install -g yarn