Skip to content

Commit 55fb6b6

Browse files
authored
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.
1 parent 06d91be commit 55fb6b6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "Development environments on your infrastructure",
3-
"image": "codercom/oss-dogfood:latest",
3+
"image": "codercom/oss-dogfood:pre-nix",
44

55
"features": {
66
// See all possible options here https://github.com/devcontainers/features/tree/main/src/docker-in-docker
7-
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
7+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
8+
"moby": "false"
9+
}
810
},
911
// SYS_PTRACE to enable go debugging
10-
// without --priviliged the Github Codespace build fails (not required otherwise)
11-
"runArgs": ["--cap-add=SYS_PTRACE", "--privileged"]
12+
"runArgs": ["--cap-add=SYS_PTRACE"]
1213
}

0 commit comments

Comments
 (0)