-
Notifications
You must be signed in to change notification settings - Fork 154
/
Copy pathdevcontainer.json
32 lines (32 loc) · 1018 Bytes
/
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
31
32
{
"name": "OPA",
"dockerFile": "Dockerfile",
"runArgs": [
"--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined",
// Cache vscode exentsions installs and homedir
"-v", "agentcontroller-vscodecache:/root/.vscode-server",
// Keep command history
"-v", "agentcontroller-bashhistory:/root/commandhistory",
// Mount docker socket for docker builds
"-v", "/var/run/docker.sock:/var/run/docker.sock",
// Use host network
"--network=host",
// Mount ssh
"-v", "${env:HOME}${env:USERPROFILE}/.ssh:/root/.ssh"
// Uncomment to access kubeconfig on host.
// Mount kubernetes auth
// "-v", "${env:HOME}${env:USERPROFILE}/.kube:/root/.kube"
],
"workspaceMount": "src=${localWorkspaceFolder},dst=/workspace,type=bind,consistency=delegated",
"workspaceFolder": "/workspace",
"context": "../",
"settings": {
},
"extensions": [
"ms-vsliveshare.vsliveshare-pack",
"redhat.vscode-yaml",
"ms-kubernetes-tools.vscode-kubernetes-tools",
"tsandall.opa",
"ms-python.python"
]
}