-
Notifications
You must be signed in to change notification settings - Fork 267
Dev container feature - allow installing extensions #6460
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
base: main
Are you sure you want to change the base?
Dev container feature - allow installing extensions #6460
Conversation
…ying extensions to install
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.
Pull request overview
This PR adds an extensions option to the azd devcontainer feature, allowing users to specify a comma-separated list of Azure Developer CLI extensions to install automatically when the devcontainer is built.
Key changes:
- Added
extensionsconfiguration option to the devcontainer feature definition - Implemented extension installation logic in the install script
- Added test scenario and test script to verify extension installation functionality
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| ext/devcontainer/src/azd/devcontainer-feature.json | Added extensions option (type: string) to feature configuration and bumped version to 0.2.0 |
| ext/devcontainer/src/azd/install.sh | Added logic to parse and install comma-separated list of azd extensions |
| ext/devcontainer/test/azd/scenarios.json | Added test scenario configuration with azure.coding-agent extension |
| ext/devcontainer/test/azd/with_extensions.sh | Added test script to verify extension installation |
| ext/devcontainer/Makefile | Added makefile with test target for running devcontainer feature tests |
|
investigating about debian:10 issue... @danieljurek |
Add
extensionsoption to theazddevcontainer feature to allow the user to specify extensions to install when installingazdin a dev container