Dockerfile 485 B

12345678910
  1. # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/dotnet/.devcontainer/base.Dockerfile
  2. # [Choice] .NET version: 5.0, 3.1, 2.1
  3. ARG VARIANT="5.0"
  4. FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-${VARIANT}
  5. # [Option] Install Node.js
  6. ARG INSTALL_NODE="true"
  7. ARG NODE_VERSION="lts/*"
  8. RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi