28 lines
820 B
JSON
28 lines
820 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/refs/heads/main/schemas/devContainer.schema.json",
|
|
"name": "DragonOS Dev Container",
|
|
"image": "docker.cnb.cool/dragonos-community/dragonos/dragonos-devcontainer:v1.19",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
"installZsh": "false",
|
|
"configureZshAsDefaultShell": "false",
|
|
"username": "dragonos"
|
|
},
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": { "moby": false }
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"rust-lang.rust-analyzer",
|
|
"tamasfe.even-better-toml"
|
|
]
|
|
}
|
|
},
|
|
"containerUser": "dragonos",
|
|
"updateRemoteUserUID": true,
|
|
"mounts": [
|
|
"source=/dev,target=/dev,type=bind,bind-propagation=rslave"
|
|
],
|
|
"privileged": true
|
|
}
|