forked from microsoft/devicescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
29 lines (24 loc) · 953 Bytes
/
devcontainer.json
File metadata and controls
29 lines (24 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/cpp
{
"name": "Node.js + C++",
"build": {
"dockerfile": "Dockerfile",
// Node v18
"args": { "VARIANT": "18" }
},
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
// Set *default* container specific settings.json values on container create.
// "settings": {},
// Add the IDs of extensions you want installed when the container is created.
"customizations": {
"vscode": {
"extensions": ["esbenp.prettier-vscode", "ms-vscode.cpptools"]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "yarn setup",
// Comment out this line to run as root instead.
"remoteUser": "node"
}