Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions src/color/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -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"
}