Skip to content

Add copilot-cli to devcontainer#9504

Merged
michaelstaib merged 1 commit intomainfrom
mst/devcontainer-copilot
Apr 3, 2026
Merged

Add copilot-cli to devcontainer#9504
michaelstaib merged 1 commit intomainfrom
mst/devcontainer-copilot

Conversation

@michaelstaib
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 3, 2026 12:37
@michaelstaib michaelstaib merged commit 44ff974 into main Apr 3, 2026
4 checks passed
@michaelstaib michaelstaib deleted the mst/devcontainer-copilot branch April 3, 2026 12:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds GitHub Copilot tooling to the project’s devcontainer images so it’s available in both frontend and backend development environments.

Changes:

  • Install @github/copilot globally via npm in the frontend devcontainer image.
  • Install @github/copilot globally via npm in the backend devcontainer image.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.devcontainer/frontend/dockerfile Adds @github/copilot to the global npm tool install step.
.devcontainer/backend/dockerfile Adds @github/copilot to the global npm/yarn tool install step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 7 to +8
# 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
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title says "Add copilot-cli", but this change installs the npm package @github/copilot. If the intent is GitHub Copilot for the terminal, the commonly supported approach is the GitHub CLI extension (gh extension install github/gh-copilot) rather than an npm package; otherwise please update the PR title/description to match what’s actually being installed.

Copilot uses AI. Check for mistakes.

# 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
Copy link

Copilot AI Apr 3, 2026

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.

Copilot uses AI. Check for mistakes.
Comment on lines 42 to +43
# Install Yarn, update npm, and install Codex CLI
RUN npm install -g yarn npm@11.12.0 @openai/codex
RUN npm install -g yarn npm@11.12.0 @openai/codex @github/copilot
Copy link

Copilot AI Apr 3, 2026

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.

Copilot uses AI. Check for mistakes.
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.

2 participants