-
-
Notifications
You must be signed in to change notification settings - Fork 803
Add copilot-cli to devcontainer #9504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ RUN apt-get update && apt-get install -y bubblewrap \ | |
| && apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # Update npm and install Codex CLI | ||
| RUN npm install -g npm@11.12.0 @openai/codex | ||
| RUN npm install -g npm@11.12.0 @openai/codex @github/copilot | ||
|
Comment on lines
7
to
+8
|
||
|
|
||
| # Install Claude Code (as node user so it installs to their home directory) | ||
| RUN su - node -c "curl -fsSL https://claude.ai/install.sh | bash" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This installs
@github/copilot(and@openai/codex) without pinning a version, which makes the devcontainer image build non-reproducible and can break unexpectedly when upstream publishes a new release. Consider pinning these CLIs to explicit versions (or at least@github/copilot) similar to how npm itself is pinned.