// For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/alpine { "name": "SD2PSX Ubuntu", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/base:ubuntu", "features": { "ghcr.io/devcontainers/features/python:1": { "installTools": true, "version": "latest" } }, "containerEnv": { "PICO_SDK_PATH": "/opt/pico-sdk", "PICO_TOOLCHAIN_PATH": "/usr/bin" }, // 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": "sudo bash .devcontainer/install-dependencies.sh", // Configure tool-specific properties. "customizations": { "vscode": { "extensions": ["twxs.cmake", "ms-vscode.cmake-tools", "go2sh.cmake-integration-vscode", "llvm-vs-code-extensions.vscode-clangd", "xaver.clang-format", "IBM.output-colorizer" ], "settings": {"clangd.path": "/usr/bin/clangd", "cmake.cmakePath": "cmake", "clangd.arguments": ["--query-driver", "/usr/bin/arm-none-eabi-gcc"]} }, }, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. "remoteEnv": { "PODMAN_USERNS": "keep-id" }, "containerUser": "vscode" }