mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
32 lines
858 B
JSON
32 lines
858 B
JSON
{
|
|
"name": "Development environments on your infrastructure",
|
|
"image": "codercom/oss-dogfood:latest",
|
|
"features": {
|
|
// See all possible options here https://github.com/devcontainers/features/tree/main/src/docker-in-docker
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
|
"moby": "false"
|
|
},
|
|
"ghcr.io/coder/devcontainer-features/code-server:1": {
|
|
"auth": "none",
|
|
"port": 13337
|
|
}
|
|
},
|
|
// SYS_PTRACE to enable go debugging
|
|
"runArgs": [
|
|
"--cap-add=SYS_PTRACE"
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"biomejs.biome"
|
|
]
|
|
}
|
|
},
|
|
"mounts": [
|
|
// Mount the entire home because conditional mounts are not supported.
|
|
// See: https://github.com/devcontainers/spec/issues/132
|
|
"source=${localEnv:HOME},target=/mnt/home/coder,type=bind,readonly"
|
|
],
|
|
"postCreateCommand": "./.devcontainer/postCreateCommand.sh"
|
|
}
|