forked from kedacore/keda-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevcontainer.json
30 lines (25 loc) · 1.13 KB
/
devcontainer.json
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
30
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or the definition README at
// https://github.com/microsoft/vscode-dev-containers/tree/master/containers/go
{
"name": "Npm",
"dockerFile": "Dockerfile",
"runArgs": [
// Uncomment the next line to use a non-root user. On Linux, this will prevent
// new files getting created as root, but you may need to update the USER_UID
// and USER_GID in .devcontainer/Dockerfile to match your user if not 1000.
// "-u", "vscode",
// Cache vscode exentsions installs and homedir
"-v", "keda-docs-vscodecache:/root/.vscode-server",
// Mount docker socket for doecker builds
"-v", "/var/run/docker.sock:/var/run/docker.sock",
"--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"
],
// Use 'settings' to set *default* container specific settings.json values on container create.
// You can edit these settings after create using File > Preferences > Settings > Remote.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
},
// Add the IDs of extensions you want installed when the container is created in the array below.
"extensions": [
]
}