// For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/cpp { "name": "OpenMVS", "build": { "dockerfile": "Dockerfile", "context": ".." }, // 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": "./.devcontainer/postCreateCommand.sh", // Configure tool-specific properties. "customizations": { "vscode": { "extensions": [ "ms-vscode.cpptools", "ms-vscode.cmake-tools", "twxs.cmake", "josetr.cmake-language-support-vscode" ] } }, "containerEnv": { "DISPLAY": "unix:0" }, "remoteEnv": { "PATH": "/usr/local/bin/OpenMVS:${containerEnv:PATH}" }, "mounts": [ "source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached" ], "features": { "ghcr.io/devcontainers/features/sshd:1": { "version": "latest" } }, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. "remoteUser": "openmvs" }