diff options
Diffstat (limited to '.devcontainer')
-rw-r--r-- | .devcontainer/Dockerfile | 6 | ||||
-rw-r--r-- | .devcontainer/devcontainer.json | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 048cebe2d..1fe3880c8 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile | |||
@@ -1,7 +1,7 @@ | |||
1 | # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.174.0/containers/javascript-node/.devcontainer/base.Dockerfile | 1 | # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.174.0/containers/javascript-node/.devcontainer/base.Dockerfile |
2 | 2 | ||
3 | # [Choice] Node.js version: 14, 12, 10 | 3 | # [Choice] Node.js version: 18 |
4 | ARG VARIANT="14-buster" | 4 | ARG VARIANT="18-buster" |
5 | FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} | 5 | FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} |
6 | 6 | ||
7 | # [Optional] Uncomment this section to install additional OS packages. | 7 | # [Optional] Uncomment this section to install additional OS packages. |
@@ -13,4 +13,4 @@ FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} | |||
13 | # RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}" | 13 | # RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}" |
14 | 14 | ||
15 | # [Optional] Uncomment if you want to install more global node modules | 15 | # [Optional] Uncomment if you want to install more global node modules |
16 | # RUN su node -c "npm install -g <your-package-list-here>" | 16 | # RUN su node -c "npm i -g <your-package-list-here>" |
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 85a9c5a3b..54d7c459b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json | |||
@@ -24,7 +24,7 @@ | |||
24 | // "forwardPorts": [], | 24 | // "forwardPorts": [], |
25 | 25 | ||
26 | // Use 'postCreateCommand' to run commands after the container is created. | 26 | // Use 'postCreateCommand' to run commands after the container is created. |
27 | // "postCreateCommand": "npm install", | 27 | // "postCreateCommand": "npm i", |
28 | 28 | ||
29 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | 29 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
30 | "remoteUser": "node" | 30 | "remoteUser": "node" |