Skip to content

Commit 5fcf3e0

Browse files
author
bootc-dev Bot
committed
Sync common files from infra repository
Synchronized from bootc-dev/infra@56e4f61. Signed-off-by: bootc-dev Bot <bot@bootc.dev>
1 parent 904590e commit 5fcf3e0

File tree

3 files changed

+61
-1
lines changed

3 files changed

+61
-1
lines changed

.bootc-dev-infra-commit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a9c43f8d6fcc95ed00563878bf8632ffa159ee3c
1+
56e4f615d38cc4a923f6a7e2a174a0c05a962451
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "bootc-devenv-debian",
3+
"image": "ghcr.io/bootc-dev/devenv-debian",
4+
"customizations": {
5+
"vscode": {
6+
// Arbitrary, but most of our code is in one of these two
7+
"extensions": [
8+
"rust-lang.rust-analyzer",
9+
"golang.Go"
10+
]
11+
},
12+
"devaipod": {
13+
// When running under devaipod, use minimal capabilities
14+
// (SYS_ADMIN, NET_ADMIN, etc.) instead of full --privileged.
15+
"nestedContainers": true
16+
}
17+
},
18+
"features": {},
19+
// Use privileged mode for broad compatibility (Codespaces, Docker,
20+
// stock devcontainer CLI). devaipod overrides this with tighter
21+
// security via the nestedContainers customization above.
22+
"privileged": true,
23+
"postCreateCommand": {
24+
// Our init script
25+
"devenv-init": "sudo /usr/local/bin/devenv-init.sh"
26+
},
27+
"remoteEnv": {
28+
"PATH": "${containerEnv:PATH}:/usr/local/cargo/bin"
29+
}
30+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "bootc-devenv-ubuntu",
3+
"image": "ghcr.io/bootc-dev/devenv-ubuntu",
4+
"customizations": {
5+
"vscode": {
6+
// Arbitrary, but most of our code is in one of these two
7+
"extensions": [
8+
"rust-lang.rust-analyzer",
9+
"golang.Go"
10+
]
11+
},
12+
"devaipod": {
13+
// When running under devaipod, use minimal capabilities
14+
// (SYS_ADMIN, NET_ADMIN, etc.) instead of full --privileged.
15+
"nestedContainers": true
16+
}
17+
},
18+
"features": {},
19+
// Use privileged mode for broad compatibility (Codespaces, Docker,
20+
// stock devcontainer CLI). devaipod overrides this with tighter
21+
// security via the nestedContainers customization above.
22+
"privileged": true,
23+
"postCreateCommand": {
24+
// Our init script
25+
"devenv-init": "sudo /usr/local/bin/devenv-init.sh"
26+
},
27+
"remoteEnv": {
28+
"PATH": "${containerEnv:PATH}:/usr/local/cargo/bin"
29+
}
30+
}

0 commit comments

Comments
 (0)