feat: add github-cli to Dockerfile as explicit dependency#453
Merged
Conversation
Add OpenSpec change for adding gh CLI to Dockerfile as explicit package dependency. Includes proposal, design, specs, and tasks.
Add github-cli (Alpine package for gh CLI) to the runtime stage apk add command, ensuring the GitHub CLI binary is present in every built container image. The skill ecosystem relies on gh for issue CRUD, PR management, and raw API calls.
Owner
Author
Audit Results: add-gh-cli-dockerfile-dependencyStep 5: Spec Audit — PASS (0 errors)
Step 9: Implementation Audit — PASS (0 errors)Goal Fulfillment
Spec Compliance
Task Completion
Quality Check
Notes
|
Owner
Author
|
Fixes #449 |
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.
Description
Add the GitHub CLI (gh) to the Dockerfile as an explicit package dependency in the runtime stage. The Alpine package
github-cliprovides theghbinary, ensuring it is present in every built container image.Type of Change
Testing
github-cliincludedgh --versionreturns v2.93.0 inside the containersrc/,index.js, or skill scriptsnpm startruns without crashes (TUI raw mode error is expected in non-interactive environments)Coverage
Checklist
npm run lintpassesFiles Changed
Dockerfile— addedgithub-clitoapk add --no-cacheline in runtime stage