// 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": "c++", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04", "features": { "ghcr.io/devcontainers/features/desktop-lite:1": { "version": "latest", "noVncVersion": "1.2.0", "password": "noPassword", "webPort": "6080", "vncPort": "5901" } }, "runArgs": ["--env-file", ".devcontainer/devcontainer.env"], // 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": [6080, 5901], // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "bash .devcontainer/install-dependencies.sh", // Configure tool-specific properties. "customizations": { "vscode": { "extensions": [ // C++ "ms-vscode.cpptools", "ms-vscode.cpptools-extension-pack", "ms-vscode.cpptools-themes" ] } } }