Feature/devcontainerctl setup - #18
Merged
Merged
Conversation
🔒 Trivy Security Scan ResultsStatus: Top 10 Critical/High Severity Vulnerabilities:
📊 Scan Details
Action Run: view run |
…he VS Code extensions list
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.
This pull request refactors the devcontainer setup process to improve maintainability, flexibility, and clarity. The main changes include reorganizing how configuration files and scripts are copied and executed in the Docker build, updating the extension download script to accept a custom directory, and enhancing the setup script with better messaging and automated extension installation.
Devcontainer build and configuration process:
Dockerfilenow copies the entire.devcontainerdirectory to/opt/.devcontainerand updates the setup steps to use this new location. It also explicitly creates config directories before copying configuration files, improving clarity and reducing potential errors.02-download-extensions.sh) now accepts an optional target directory argument, making it more flexible for different environments.Setup script improvements (
devcontainerctl/setup.sh):scripts/setup.shtodevcontainerctl/setup.sh, and now installs the VS Code Remote Containers extension automatically if thecodecommand is available, improving user experience.