diff options
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r-- | .devcontainer/devcontainer.json | 47 |
1 files changed, 22 insertions, 25 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d7bd89bea..b015c114b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json | |||
@@ -1,29 +1,26 @@ | |||
1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: |
2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.174.0/containers/javascript-node | 2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.174.0/containers/javascript-node |
3 | { | 3 | { |
4 | "name": "Node.js", | 4 | "name": "Node.js", |
5 | "build": { | 5 | "build": { |
6 | "dockerfile": "Dockerfile", | 6 | "dockerfile": "Dockerfile", |
7 | // Update 'VARIANT' to pick a Node version: 10, 12, 14 | 7 | // Update 'VARIANT' to pick a Node version: 10, 12, 14 |
8 | "args": { "VARIANT": "14" } | 8 | "args": { |
9 | }, | 9 | "VARIANT": "14" |
10 | 10 | } | |
11 | // Set *default* container specific settings.json values on container create. | 11 | }, |
12 | "settings": { | 12 | // Set *default* container specific settings.json values on container create. |
13 | "terminal.integrated.defaultProfile.linux": "/bin/bash" | 13 | "settings": { |
14 | }, | 14 | "terminal.integrated.defaultProfile.linux": "/bin/bash" |
15 | 15 | }, | |
16 | // Add the IDs of extensions you want installed when the container is created. | 16 | // Add the IDs of extensions you want installed when the container is created. |
17 | "extensions": [ | 17 | "extensions": [ |
18 | "dbaeumer.vscode-eslint" | 18 | "dbaeumer.vscode-eslint" |
19 | ], | 19 | ], |
20 | 20 | // Use 'forwardPorts' to make a list of ports inside the container available locally. | |
21 | // Use 'forwardPorts' to make a list of ports inside the container available locally. | 21 | // "forwardPorts": [], |
22 | // "forwardPorts": [], | 22 | // Use 'postCreateCommand' to run commands after the container is created. |
23 | 23 | // "postCreateCommand": "npm install", | |
24 | // Use 'postCreateCommand' to run commands after the container is created. | 24 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
25 | // "postCreateCommand": "npm install", | 25 | "remoteUser": "node" |
26 | |||
27 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
28 | "remoteUser": "node" | ||
29 | } | 26 | } |