A collection of custom Dev Container Features for enhancing development environments.
| Feature | Description | Container URL |
|---|---|---|
| Hello World | A simple hello world feature for devcontainers. | ghcr.io/lloydrichards/devcontainer-features/hello-world:1 |
| Oh My Posh Theme | Install oh-my-posh and initialize zsh with a bundled theme. | ghcr.io/lloydrichards/devcontainer-features/oh-my-posh-theme:1 |
Add one or more features to your devcontainer.json:
"features": {
"ghcr.io/lloydrichards/devcontainer-features/oh-my-posh-theme:1": {}
}.
├── README.md
├── src
│ ├── hello-world
│ └── oh-my-posh-theme
│ ├── devcontainer-feature.json
│ ├── install.sh
│ └── README.md
├── test
│ ├── hello-world
│ └── oh-my-posh-theme
│ └── test.sh
└── .github
└── workflows
└── publish.ymlTo test features locally in VS Code:
- The Dev Containers CLI requires local features to live under
.devcontainer/. - Copy or sync the feature into
.devcontainer/<feature-name>(for example.devcontainer/oh-my-posh-theme). - Add the feature to
.devcontainer/devcontainer.jsonusing a relative path like"./oh-my-posh-theme": {}. - Rebuild your dev container.
If you want to keep src/ as the source of truth, add a small sync step that mirrors src/<feature-name> into .devcontainer/<feature-name> before rebuilding.
Features are automatically published to OCI registry when releases are created.
- Fork this repository
- Create a new feature in
src/<feature-name> - Add corresponding test in
test/<feature-name> - Submit a pull request