-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdevcontainer.json
More file actions
30 lines (30 loc) · 891 Bytes
/
devcontainer.json
File metadata and controls
30 lines (30 loc) · 891 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
30
{
"name": "bootc-devenv-debian",
"image": "ghcr.io/bootc-dev/devenv-debian",
"customizations": {
"vscode": {
// Arbitrary, but most of our code is in one of these two
"extensions": [
"rust-lang.rust-analyzer",
"golang.Go"
]
},
"devaipod": {
// When running under devaipod, use minimal capabilities
// (SYS_ADMIN, NET_ADMIN, etc.) instead of full --privileged.
"nestedContainers": true
}
},
"features": {},
// Use privileged mode for broad compatibility (Codespaces, Docker,
// stock devcontainer CLI). devaipod overrides this with tighter
// security via the nestedContainers customization above.
"privileged": true,
"postCreateCommand": {
// Our init script
"devenv-init": "sudo /usr/local/bin/devenv-init.sh"
},
"remoteEnv": {
"PATH": "${containerEnv:PATH}:/usr/local/cargo/bin"
}
}