-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdevcontainer.json
More file actions
42 lines (36 loc) · 1.46 KB
/
Copy pathdevcontainer.json
File metadata and controls
42 lines (36 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
{
"name": "v8-runner",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/rust:2-1-bullseye",
// Mount local Codex settings into the container user's home directory.
"mounts": [
{
"source": "/home/alko/.codex",
"target": "/home/vscode/.codex",
"type": "bind"
}
],
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/node:2": {
"version": "22"
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use a login shell so the Node feature PATH is available, install native deps for openssl-sys,
// and provision the CLI tools used in this workspace.
"postCreateCommand": "bash -lc 'sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y pkg-config libssl-dev && cargo install --locked cargo-depsize --force && npm install -g --no-fund --no-audit @anthropic-ai/claude-code @openai/codex'",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"openai.chatgpt"
]
}
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}