diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..6b552c6c --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,45 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/docker-in-docker +{ + "name": "luminosityleds", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + // Uses Debian 11 for Dev environment + // https://github.com/microsoft/vscode-dev-containers/tree/main/containers/debian#using-this-definition + "image": "mcr.microsoft.com/devcontainers/base:bullseye", + + "features": { + "ghcr.io/devcontainers/features/docker-in-docker:2": { + "version": "latest", + "enableNonRootDocker": "true", + "moby": "true" + }, + "ghcr.io/devcontainers/features/node:1": {}, + "ghcr.io/devcontainers-contrib/features/npm-package:1": {}, + "ghcr.io/devcontainers-community/npm-features/typescript:1": {} + }, + + // 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": "docker --version", + + // Configure tool-specific properties. + "customizations": { + "vscode": { + "extensions": [ + "eamodio.gitlens", + "esbenp.prettier-vscode", + "TabNine.tabnine-vscode", + "mhutchie.git-graph", + "wayou.vscode-todo-highlight", + "vscode-icons-team.vscode-icons", + "ms-azuretools.vscode-docker", + "rangav.vscode-thunder-client" + ] + } + } + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +}