From 9cab70692e3fa562be8e60b6604264a522505e37 Mon Sep 17 00:00:00 2001 From: Richard Anthony Date: Wed, 2 Jul 2025 07:42:51 +1000 Subject: [PATCH] Update devcontainer.json --- src/color/.devcontainer/devcontainer.json | 24 ++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/color/.devcontainer/devcontainer.json b/src/color/.devcontainer/devcontainer.json index 0c20573..8bcc91a 100644 --- a/src/color/.devcontainer/devcontainer.json +++ b/src/color/.devcontainer/devcontainer.json @@ -1,18 +1,20 @@ { - "name": "Favorite color", - "image": "mcr.microsoft.com/devcontainers/base:${templateOption:imageVariant}", + "name": "Favorite color", + "image": "mcr.microsoft.com/devcontainers/base:${templateOption:imageVariant}", - // 👇 Features to add to the Dev Container. More info: https://containers.dev/implementors/features. - // "features": {}, + // 👇 Features to add to the Dev Container. More info: https://containers.dev/implementors/features. + "features": { + "ghcr.io/devcontainers/features/sshd:1": {} + }, - // 👇 Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [], + // 👇 Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], - "postCreateCommand": "echo '${templateOption:favorite}' > /tmp/color.txt" + "postCreateCommand": "echo '${templateOption:favorite}' > /tmp/color.txt" - // 👇 Configure tool-specific properties. - // "customizations": {}, + // 👇 Configure tool-specific properties. + // "customizations": {}, - // 👇 Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - // "remoteUser": "root" + // 👇 Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" }