Debian Codegraph @

.devcontainer/Dockerfile

raw
1 # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/python-3/.devcontainer/base.Dockerfile
2
3 # [Choice] Python version: 3, 3.10, 3.11
4 ARG VARIANT="3.11"
5 FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
6
7 # [Option] Install Node.js
8 ARG INSTALL_NODE="false"
9 ARG NODE_VERSION="lts/*"
10 RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
11
12 # [Optional] Uncomment this section to install additional OS packages.
13 # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
14 # && apt-get -y install --no-install-recommends <your-package-list-here>
15
16 # [Optional] Uncomment this line to install global node packages.
17 # RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
18
19 # Set the default shell to bash instead of sh
20 ENV SHELL /bin/bash