feat(agents): bundle GitHub CLI and persist gh login (v1.1.0)#2
Merged
Conversation
- dependsOn github-cli so `gh` ships with the feature - mount a named volume at ~/.config/gh so `gh auth login` survives rebuilds - postCreateCommand chowns the volume for the node user Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0xcadams
reviewed
Jun 11, 2026
| "description": "Installs the OpenAI Codex CLI and Claude Code so every dev container ships with both agents pre-installed.", | ||
| "version": "1.1.0", | ||
| "name": "AI Coding Agents (Codex + Claude Code + GitHub CLI)", | ||
| "description": "Installs the OpenAI Codex CLI, Claude Code, and the GitHub CLI so every dev container ships with the agents pre-installed. Persists the `gh` login across rebuilds via a named volume.", |
Member
There was a problem hiding this comment.
This would mean that we're storing persistent GH credentials on the host machine and by default the gh credentials last ~indefinitely.
Member
There was a problem hiding this comment.
I think @grgbkr was mentioning using 1password for this?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps the
agentsfeature to v1.1.0:ghcr.io/devcontainers/features/github-clitodependsOn, soghships with the single feature line (alongside Codex + Claude Code).ghlogin across rebuilds — mounts a named volumedevcontainer-gh-configat/home/node/.config/gh, with apostCreateCommandthatchowns it for thenodeuser. Log in once instead of after every rebuild.gh --version; README documents the bundling + persistence.Notes
/home/node(the node base image we standardize on), consistent with existing.claudevolume usage.Follow-up (consumer side)
After this publishes, consumer repos can drop their explicit
github-clifeature line — it comes viadependsOn.🤖 Generated with Claude Code