From 55fb6b663a068c4d0f2eb8af6db97fd6b33332e6 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 6 Nov 2023 15:01:47 +0300 Subject: [PATCH] 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. --- .devcontainer/devcontainer.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8e190f906d..a65c411ceb 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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"] }