/devcontainer-features

Reusable Features for Dev Containers and GitHub Codespaces managed by CargoSense.

Primary LanguageShellMIT LicenseMIT

CargoSense/devcontainer-features

🐳 📦 Reusable Features for Dev Containers and GitHub Codespaces.

Tip

If you're new to Dev Containers, check out the VisualStudio Code Dev Containers tutorial.

Usage

To reference a Feature from this repository, add the desired Features to a devcontainer.json file. Each Feature has a README.md that shows how to reference the Feature and which options are available for that Feature.

The example below installs actionlint and ShellCheck using the Features from this repository.

{
  "name": "my-project-devcontainer",
  "image": "mcr.microsoft.com/devcontainers/base:debian",
  "features": {
    "ghcr.io/CargoSense/devcontainer-features/actionlint:1": {},
    "ghcr.io/CargoSense/devcontainer-features/shellcheck:1": {
      "version": "latest"
    },
  }
}

Tip

Features are located in this repository's ./src folder. Each Feature's available options are detailed in their respective README.md files.

Note

These Features are limited in scope and primarily target Debian/Ubuntu and compatible Linux distributions. They may not be suitable for every circumstance.

License

The code in this repository is freely available under the MIT License.