Skip to content

Add gh CLI and Copilot CLI extension to devcontainer - #55028

Merged
maraf merged 2 commits into
mainfrom
maraf/devcontainer-copilot-cli
Jun 30, 2026
Merged

maraf merged 2 commits into
mainfrom
maraf/devcontainer-copilot-cli

Conversation

@maraf

@maraf maraf commented Jun 26, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds the GitHub CLI and GitHub Copilot CLI to the Codespace/devcontainer setup so contributors have them available out of the box, following the same approach used in dotnet/runtime.

Changes

  • .devcontainer/devcontainer.json: Adds ghcr.io/devcontainers/features/github-cli:1 and ghcr.io/devcontainers/features/copilot-cli:1 features.

@maraf
maraf requested review from a team and Copilot June 26, 2026 13:42

This comment was marked as off-topic.

maraf and others added 2 commits June 26, 2026 13:55
- Add ghcr.io/devcontainers/features/github-cli:1 feature to install the GitHub CLI (gh) in the devcontainer
- Install the GitHub Copilot CLI extension (gh-copilot) via post-creation script

Co-authored-by: Copilot <[email protected]>
Replace manual gh extension install with the proper devcontainer features:
- ghcr.io/devcontainers/features/github-cli:1
- ghcr.io/devcontainers/features/copilot-cli:1

Co-authored-by: Copilot <[email protected]>
@maraf
maraf force-pushed the maraf/devcontainer-copilot-cli branch from 2f3c875 to 37f5a0b Compare June 26, 2026 13:55
@maraf
maraf requested a review from akoeplinger June 26, 2026 13:56
@maraf
maraf enabled auto-merge (squash) June 26, 2026 13:57
@maraf
maraf merged commit 6af9ce7 into main Jun 30, 2026
11 checks passed
@maraf
maraf deleted the maraf/devcontainer-copilot-cli branch June 30, 2026 09:53
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants