We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d17014 commit 7adfed2Copy full SHA for 7adfed2
.devcontainer/Dockerfile
@@ -69,5 +69,12 @@ RUN wget https://github.com/dandavison/delta/releases/download/${DELTA_VERSION}/
69
&& sudo dpkg -i git-delta_${DELTA_VERSION}_arm64.deb \
70
&& rm git-delta_${DELTA_VERSION}_arm64.deb
71
72
+LABEL build.step.node=build_nodejs
73
+ARG NODE_VERSION_LTS="lts/*"
74
+ARG NODE_MODULES="typescript prettier"
75
+RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION_LTS}" 2>&1
76
+RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g ${NODE_MODULES}" 2>&1
77
+
78
+LABEL build.step.cleanup=build_cleanup
79
RUN sudo apt-get autoremove -y && apt-get clean -y \
80
&& rm -rf /var/lib/apt/lists/*
0 commit comments