|
1 | 1 | {
|
2 | 2 | "name":"Development environments on your infrastructure",
|
3 | 3 | "image":"codercom/oss-dogfood:latest",
|
4 |
| - |
5 | 4 | "features": {
|
6 | 5 | // See all possible options here https://github.com/devcontainers/features/tree/main/src/docker-in-docker
|
7 | 6 | "ghcr.io/devcontainers/features/docker-in-docker:2": {
|
|
13 | 12 | }
|
14 | 13 | },
|
15 | 14 | // SYS_PTRACE to enable go debugging
|
16 |
| -"runArgs": ["--cap-add=SYS_PTRACE"], |
| 15 | +"runArgs": [ |
| 16 | +"--cap-add=SYS_PTRACE" |
| 17 | +], |
17 | 18 | "customizations": {
|
18 | 19 | "vscode": {
|
19 |
| -"extensions": ["biomejs.biome"] |
| 20 | +"extensions": [ |
| 21 | +"biomejs.biome" |
| 22 | +] |
20 | 23 | }
|
21 |
| -} |
| 24 | +}, |
| 25 | +"mounts": [ |
| 26 | +// Mount the entire home because conditional mounts are not supported. |
| 27 | +"source=${localEnv:HOME},target=/mnt/home/coder,type=bind,readonly" |
| 28 | +], |
| 29 | +"postCreateCommand":"./.devcontainer/postCreateCommand.sh" |
22 | 30 | }
|