Skip to content

Commit 09dc4a7

Browse files
committed
Fix the devcontainer to work with Github Codespaces
1 parent 210fadc commit 09dc4a7

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
{
2-
"name": "Autonomy Builder",
3-
"image": "ghcr.io/build-trust/autonomy-builder"
2+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
3+
"features": {
4+
"ghcr.io/devcontainers/features/node:1": {
5+
"version": "lts"
6+
},
7+
"ghcr.io/devcontainers/features/nix:1": {
8+
"extraNixConfig": "experimental-features = nix-command flakes, download-buffer-size = 268435456"
9+
}
10+
},
11+
"postCreateCommand": "npm install -g @anthropic-ai/claude-code",
12+
"remoteEnv": {
13+
"ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}"
14+
},
15+
"customizations": {
16+
"vscode": {
17+
"extensions": ["github.copilot"]
18+
}
19+
}
420
}

0 commit comments

Comments
 (0)