2021-03-08 23:13:52 +00:00
|
|
|
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/master/containers/javascript-node/.devcontainer/base.Dockerfile
|
2021-02-18 15:31:14 +00:00
|
|
|
|
|
|
|
|
# [Choice] Node.js version: 14, 12, 10
|
|
|
|
|
ARG VARIANT="14-buster"
|
2020-08-11 13:12:01 -07:00
|
|
|
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
|
2019-04-16 19:41:33 -07:00
|
|
|
|
2020-08-11 13:12:01 -07:00
|
|
|
# [Optional] Uncomment this section to install additional OS packages.
|
|
|
|
|
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
|
|
|
# && apt-get -y install --no-install-recommends <your-package-list-here>
|
2019-04-16 19:41:33 -07:00
|
|
|
|
2020-08-11 13:12:01 -07:00
|
|
|
# [Optional] Uncomment if you want to install an additional version of node using nvm
|
|
|
|
|
# ARG EXTRA_NODE_VERSION=10
|
|
|
|
|
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
|
2020-01-16 16:42:20 -08:00
|
|
|
|
2020-08-11 13:12:01 -07:00
|
|
|
# [Optional] Uncomment if you want to install more global node modules
|
2021-02-18 15:31:14 +00:00
|
|
|
# RUN su node -c "npm install -g <your-package-list-here>"
|