Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1003 Bytes

File metadata and controls

35 lines (27 loc) · 1003 Bytes

Payload devcontainer features

A collection of devcontainer features published to ghcr.io/payloadcms/devcontainer-features.

Features

Feature Reference
mise-bootstrap ghcr.io/payloadcms/devcontainer-features/mise-bootstrap:1

Usage

Reference a feature in your .devcontainer/devcontainer.json:

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

Repo layout

src/<feature-id>/
  devcontainer-feature.json   # feature manifest (id, version, options)
  install.sh                  # runs as root in the container at build time
test/<feature-id>/
  test.sh                     # runs in a freshly built devcontainer
.github/workflows/
  release.yaml                # publishes features to ghcr.io on push to main
  test.yaml                   # runs feature tests on PRs