File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
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 9
9
"build" : {
10
10
"context" : " ." ,
11
11
"dockerfile" : " Dockerfile"
12
- }
12
+ },
13
13
// Features add additional features to your environment. See https://containers.dev/features
14
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
- // }
15
+ "features" : {
16
+ "ghcr.io/devcontainers/features/node:1" : {
17
+ "nodeGypDependencies" : true ,
18
+ "version" : " lts"
19
+ }
20
+ }
20
21
}
You can’t perform that action at this time.
0 commit comments