Skip to content

Commit 1d43479

Browse files
committed
devcontainer with npm and claude for training purposes
1 parent e319de4 commit 1d43479

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM mcr.microsoft.com/devcontainers/rust:1-bookworm
2+
3+
# Install Rust components
4+
RUN . /usr/local/cargo/env && rustup component add rustfmt clippy rust-analyzer
5+
6+
# Install cargo tools (this is the slow part)
7+
RUN . /usr/local/cargo/env && cargo install cargo-watch cargo-edit cargo-outdated

.devcontainer/devcontainer.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "devcontainer-sync-cli",
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
6+
"features": {
7+
"ghcr.io/anthropics/devcontainer-features/claude-code:latest": {},
8+
"ghcr.io/devcontainers/features/node:1": {}
9+
}
10+
}

0 commit comments

Comments
 (0)