mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
chore: pin devcontainer.json to pre-nix image (#10417)
fixes #10416 this is a workaround, and it is tagged to an old version of an image. While testing, it seems like `--privileged` is no longer required.
This commit is contained in:
committed by
GitHub
parent
06d91bee34
commit
55fb6b663a
@ -1,12 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "Development environments on your infrastructure",
|
"name": "Development environments on your infrastructure",
|
||||||
"image": "codercom/oss-dogfood:latest",
|
"image": "codercom/oss-dogfood:pre-nix",
|
||||||
|
|
||||||
"features": {
|
"features": {
|
||||||
// See all possible options here https://github.com/devcontainers/features/tree/main/src/docker-in-docker
|
// See all possible options here https://github.com/devcontainers/features/tree/main/src/docker-in-docker
|
||||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
||||||
|
"moby": "false"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// SYS_PTRACE to enable go debugging
|
// SYS_PTRACE to enable go debugging
|
||||||
// without --priviliged the Github Codespace build fails (not required otherwise)
|
"runArgs": ["--cap-add=SYS_PTRACE"]
|
||||||
"runArgs": ["--cap-add=SYS_PTRACE", "--privileged"]
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user