mirror of https://github.com/coder/coder.git
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:
parent
06d91bee34
commit
55fb6b663a
|
@ -1,12 +1,13 @@
|
|||
{
|
||||
"name": "Development environments on your infrastructure",
|
||||
"image": "codercom/oss-dogfood:latest",
|
||||
"image": "codercom/oss-dogfood:pre-nix",
|
||||
|
||||
"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": {}
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
||||
"moby": "false"
|
||||
}
|
||||
},
|
||||
// SYS_PTRACE to enable go debugging
|
||||
// without --priviliged the Github Codespace build fails (not required otherwise)
|
||||
"runArgs": ["--cap-add=SYS_PTRACE", "--privileged"]
|
||||
"runArgs": ["--cap-add=SYS_PTRACE"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue