30 lines
957 B
JSON
30 lines
957 B
JSON
{
|
|
"name": "Claude Code Sandbox",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"args": {
|
|
"TZ": "${localEnv:TZ:Europe/Paris}",
|
|
"CLAUDE_CODE_VERSION": "latest",
|
|
"GIT_DELTA_VERSION": "0.18.2",
|
|
"ZSH_IN_DOCKER_VERSION": "1.2.0"
|
|
}
|
|
},
|
|
"runArgs": [
|
|
"--cap-add=NET_ADMIN",
|
|
"--cap-add=NET_RAW"
|
|
],
|
|
"remoteUser": "node",
|
|
"mounts": [
|
|
"source=claude-code-bashhistory-${devcontainerId},target=/commandhistory,type=volume",
|
|
"source=claude-code-config-${devcontainerId},target=/home/node/.claude,type=volume"
|
|
],
|
|
"containerEnv": {
|
|
"NODE_OPTIONS": "--max-old-space-size=4096",
|
|
"CLAUDE_CONFIG_DIR": "/home/node/.claude",
|
|
"POWERLEVEL9K_DISABLE_GITSTATUS": "true"
|
|
},
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=delegated",
|
|
"workspaceFolder": "/workspace",
|
|
"postStartCommand": "sudo /usr/local/bin/init-firewall.sh",
|
|
"waitFor": "postStartCommand"
|
|
}
|