// 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": "Rust", "build": { "dockerfile": "Dockerfile" }, "features": { "ghcr.io/devcontainers/features/sshd:1": {}, "ghcr.io/devcontainers/features/node:2": {}, "ghcr.io/devcontainers/features/github-cli:1": { "version": "latest" }, "ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {} }, // Configure tool-specific properties. "customizations": { "vscode": { "extensions": [ "rust-lang.rust-analyzer", "EditorConfig.EditorConfig", "tamasfe.even-better-toml", "eamodio.gitlens", "nefrob.vscode-just-syntax", "tekumara.typos-vscode" ] } }, "containerEnv": { "CLAUDE_CONFIG_DIR": "/home/vscode/.claude", "npm_config_store_dir": "/home/vscode/.local/share/pnpm" }, "mounts": [ "source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind", "source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,readonly", "source=target,target=${containerWorkspaceFolder}/target,type=volume" ], // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "/bin/bash .devcontainer/postCreateCommand.sh" }