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 1
1
FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
2
2
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/*
3
8
4
9
# 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 7
7
// Use "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
8
8
// instead of the build to use a pre-built image.
9
9
"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