File tree Expand file tree Collapse file tree 2 files changed +21
-12
lines changed Expand file tree Collapse file tree 2 files changed +21
-12
lines changed Original file line number Diff line number Diff line change 11FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
22
3+ # Install Node.js and npm
4+ RUN apt-get update && apt-get install -y curl && \
5+ curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
6+ apt-get install -y nodejs && \
7+ apt-get clean && rm -rf /var/lib/apt/lists/*
38
49# Install claude-code globally
5- RUN npm i -g @anthropic-ai/claude-code
10+ RUN npm i -g @anthropic-ai/claude-code
Original file line number Diff line number Diff line change 77 // Use "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
88 // instead of the build to use a pre-built image.
99 "build" : {
10- "context" : " ." ,
11- "dockerfile" : " Dockerfile"
12- }
13- // Features add additional features to your environment. See https://containers.dev/features
14- // Beware: features are not supported on all platforms and may have unintended side-effects.
15- // "features": {
16- // "ghcr.io/devcontainers/features/docker-in-docker": {
17- // "moby": false
18- // }
19- // }
20- }
10+ "context" : " ." ,
11+ "dockerfile" : " Dockerfile"
12+ },
13+ "features" : {
14+ "ghcr.io/devcontainers/features/node:1" : {
15+ "nodeGypDependencies" : true ,
16+ "version" : " lts"
17+ },
18+ "ghcr.io/devcontainers/features/docker-in-docker" : {
19+ "version" : " latest" ,
20+ "moby" : true
21+ }
22+ },
23+ "privileged" : true
24+ }
You can’t perform that action at this time.
0 commit comments