Skip to content

chore(devcontainer): add the GitHub CLI feature - #28

Merged
nehalkpatel merged 1 commit into
mainfrom
chore/devcontainer-gh-cli
Aug 27, 2026
Merged

chore(devcontainer): add the GitHub CLI feature#28
nehalkpatel merged 1 commit into
mainfrom
chore/devcontainer-gh-cli

Conversation

@nehalkpatel

Copy link
Copy Markdown
Owner

gh is not in Ubuntu's default apt sources, so it had to be installed by hand in each new container. Add the devcontainer feature instead -- one line, and it tracks upstream releases.

Scoped to the devcontainer rather than the Dockerfile on purpose: gh is an interactive convenience, not a build dependency, so docker compose run and CI have no need for it.

Note that gh still needs gh auth login (or GH_TOKEN) per user; git itself pushes over SSH and shares no credentials with gh.

gh is not in Ubuntu's default apt sources, so it had to be installed by hand in
each new container. Add the devcontainer feature instead -- one line, and it
tracks upstream releases.

Scoped to the devcontainer rather than the Dockerfile on purpose: gh is an
interactive convenience, not a build dependency, so `docker compose run` and CI
have no need for it.

Note that gh still needs `gh auth login` (or GH_TOKEN) per user; git itself
pushes over SSH and shares no credentials with gh.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@nehalkpatel
nehalkpatel merged commit 8c304f2 into main Aug 27, 2026
1 check passed
@nehalkpatel
nehalkpatel deleted the chore/devcontainer-gh-cli branch August 27, 2026 04:21
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.

1 participant