forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
48 lines (48 loc) · 1.32 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "Envoy Dev",
"dockerFile": "Dockerfile",
"runArgs": [
"--user=vscode",
"--cap-add=SYS_PTRACE",
"--cap-add=NET_RAW",
"--cap-add=NET_ADMIN",
"--security-opt=seccomp=unconfined",
"--volume=${env:HOME}:${env:HOME}",
"--volume=envoy-build:/build",
// Uncomment next line if you have devcontainer.env
// "--env-file=.devcontainer/devcontainer.env"
],
"containerEnv": {
"ENVOY_SRCDIR": "${containerWorkspaceFolder}",
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"bazel.buildifierFixOnFormat": true,
"clangd.path": "/opt/llvm/bin/clangd",
"python.pythonPath": "/usr/bin/python3",
"python.formatting.provider": "yapf",
"python.formatting.yapfArgs": [
"--style=${workspaceFolder}/tools/code_format/.style.yapf"
],
"files.exclude": {
"**/.clangd/**": true,
"**/bazel-*/**": true
},
"files.watcherExclude": {
"**/.clangd/**": true,
"**/bazel-*/**": true
}
},
"remoteUser": "vscode",
"containerUser": "vscode",
"postCreateCommand": ".devcontainer/setup.sh",
"extensions": [
"github.vscode-pull-request-github",
"zxh404.vscode-proto3",
"bazelbuild.vscode-bazel",
"llvm-vs-code-extensions.vscode-clangd",
"vadimcn.vscode-lldb",
"webfreak.debug",
"ms-python.python"
]
}