-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdevcontainer.json
36 lines (34 loc) · 957 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
33
34
35
36
{
"name": "Functions Quickstarts Codespace",
"dockerFile": "Dockerfile",
"features": {
"azure-cli": "latest"
},
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-bicep",
"ms-azuretools.vscode-docker",
"ms-azuretools.vscode-azurefunctions",
"GitHub.copilot",
"humao.rest-client"
]
}
},
"mounts": [
// Mount docker-in-docker library volume
"source=codespaces-linux-var-lib-docker,target=/var/lib/docker,type=volume"
],
// Always run image-defined docker-init.sh to enable docker-in-docker
"overrideCommand": false,
"remoteUser": "codespace",
"runArgs": [
// Enable ptrace-based debugging for Go in container
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined",
// Enable docker-in-docker configuration
"--init",
"--privileged"
]
}