UNPKG

842 BPlain TextView Raw
1# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/typescript-node/.devcontainer/base.Dockerfile
2
3# [Choice] Node.js version: 16, 14, 12
4ARG VARIANT="16-buster"
5FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
6
7# [Optional] Uncomment this section to install additional OS packages.
8# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
9# && apt-get -y install --no-install-recommends <your-package-list-here>
10
11# [Optional] Uncomment if you want to install an additional version of node using nvm
12# ARG EXTRA_NODE_VERSION=10
13# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
14
15# [Optional] Uncomment if you want to install more global node packages
16# RUN su node -c "npm install -g <your-package-list -here>"