From 8a6ed964eaad45347f37aa331ef17cb13ce134b7 Mon Sep 17 00:00:00 2001 From: Devraj Mehta Date: Wed, 10 Dec 2025 16:42:33 -0500 Subject: [PATCH] Add Copilot CLI feature to devcontainer (#58813) --- .devcontainer/devcontainer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 30f6ce6a24..46fa6e2d40 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -12,6 +12,9 @@ // Install features. Type 'feature' in the VS Code command palette for a full list. "features": { "sshd": "latest", + "ghcr.io/devcontainers/features/copilot-cli:1": { + "version": "prerelease" + }, "ghcr.io/devcontainers/features/github-cli:1": {} }, @@ -59,8 +62,6 @@ }, // Lifecycle commands - // Install dependencies then install Copilot CLI - "onCreateCommand": "npm ci && npm install -g @github/copilot@prerelease", // Start a web server and keep it running "postStartCommand": "nohup bash -c 'npm start &'", // Set port 4000 to be public