From b2a1002961427c98a042932a8ca798eb7d3a7d20 Mon Sep 17 00:00:00 2001 From: Siddhant Khare Date: Wed, 17 Sep 2025 15:39:33 +0000 Subject: [PATCH 1/3] fix: DevContainers setup --- .devcontainer/Dockerfile | 7 ++++++- .devcontainer/devcontainer.json | 13 +++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 6817cdd..306cfad 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,5 +1,10 @@ FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04 +# Install Node.js and npm +RUN apt-get update && apt-get install -y curl && \ + curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ + apt-get install -y nodejs && \ + apt-get clean && rm -rf /var/lib/apt/lists/* # Install claude-code globally -RUN npm i -g @anthropic-ai/claude-code \ No newline at end of file +RUN npm i -g @anthropic-ai/claude-code diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 907d274..1f5e985 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -9,12 +9,13 @@ "build": { "context": ".", "dockerfile": "Dockerfile" - } + }, // Features add additional features to your environment. See https://containers.dev/features // Beware: features are not supported on all platforms and may have unintended side-effects. - // "features": { - // "ghcr.io/devcontainers/features/docker-in-docker": { - // "moby": false - // } - // } + "features": { + "ghcr.io/devcontainers/features/node:1": { + "nodeGypDependencies": true, + "version": "lts" + } + } } From a495c8b4de9fdf4fbc849adb96952d2868581280 Mon Sep 17 00:00:00 2001 From: Siddhant Khare Date: Wed, 17 Sep 2025 15:40:36 +0000 Subject: [PATCH 2/3] fix --- .devcontainer/devcontainer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1f5e985..190151c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,8 +10,7 @@ "context": ".", "dockerfile": "Dockerfile" }, - // Features add additional features to your environment. See https://containers.dev/features - // Beware: features are not supported on all platforms and may have unintended side-effects. + "features": { "ghcr.io/devcontainers/features/node:1": { "nodeGypDependencies": true, From c599f7d5984ca907c55c000633db25135b926869 Mon Sep 17 00:00:00 2001 From: Siddhant Khare Date: Wed, 17 Sep 2025 15:50:52 +0000 Subject: [PATCH 3/3] fix Co-authored-by: Ona --- .devcontainer/devcontainer.json | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 190151c..26dd934 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,14 +7,18 @@ // Use "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04", // instead of the build to use a pre-built image. "build": { - "context": ".", - "dockerfile": "Dockerfile" - }, - + "context": ".", + "dockerfile": "Dockerfile" + }, "features": { "ghcr.io/devcontainers/features/node:1": { "nodeGypDependencies": true, "version": "lts" + }, + "ghcr.io/devcontainers/features/docker-in-docker": { + "version": "latest", + "moby": true } - } -} + }, + "privileged": true +} \ No newline at end of file