diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 5a37633e..6b552c6c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,23 +1,28 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the -// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu +// README at: https://github.com/devcontainers/templates/tree/main/src/docker-in-docker { - "name": "Ubuntu", + "name": "luminosityleds", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/base:jammy", + // 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": {} }, - // 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": "uname -a", + // "postCreateCommand": "docker --version", // Configure tool-specific properties. "customizations": {