How jsburckhardt/devcontainer-features works
The project is a repository that provides a collection of devcontainer features. Each feature is essentially a CLI tool integration (like flux, notation, crane, etc.) that gets added to a container environment (based on the Ubuntu devcontainer image). The repository is organized in a modular way with each feature in its own folder under the “src” directory, and corresponding tests in the “test” directory. There is also CI/CD support via GitHub workflows and configuration files (like .devcontainer.json, makefile, and container configuration files) to streamline building, testing, and releasing these features.
Main Components
• DevContainer Base Image: At the center stands the container environment (using “mcr.microsoft.com/devcontainers/base:ubuntu”) which is the common platform for running the features.
• CI/CD Pipeline: Represent GitHub workflows (release and test pipelines) that automate the building and testing of these features.
• Test Suites: Represent the “test” directory that contains global testing scripts and individual feature tests, showing how each feature is validated.
• Configuration and Tooling: Include configuration files (like makefile, .devcontainer.json, and .gic.yaml) as they support building and environment setup.
Relationships and Interactions
• The DevContainer Base Image is the fundamental environment where all features are installed and executed.