Skip to content

RiccardoBravin/devcontainer-features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev Container Features

A collection of dev container Features published to GitHub Container Registry.

Features

zensical

Installs Zensical via pipx — a modern open source toolchain for building static sites.

Usage

Add the feature to your devcontainer.json:

{
    "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
    "features": {
        "ghcr.io/RiccardoBravin/devcontainer-features/zensical:1": {}
    }
}

Options

Option Type Default Description
version string "latest" Select the version to install.

To pin a specific version:

{
    "features": {
        "ghcr.io/RiccardoBravin/devcontainer-features/zensical:1": {
            "version": "0.5.0"
        }
    }
}

Repository Structure

├── src
│   └── zensical
│       ├── devcontainer-feature.json
│       ├── install.sh
│       └── library_script.sh
├── test
│   └── zensical
│       ├── scenarios.json
│       ├── test.sh
│       └── test_ubuntu.sh

Publishing

A GitHub Action workflow automatically publishes each feature to GHCR on release. By default, GHCR packages are private — mark them as public in the package settings to stay within the free tier.

Testing

Run tests locally with the devcontainer CLI:

# Feature install test
devcontainer features test --skip-scenarios -f zensical -i debian:latest .

# Scenario tests (from scenarios.json)
devcontainer features test -f zensical --skip-autogenerated --skip-duplicated .

About

Custom devcontainer features for missing commodities

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages