Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

mise project bootstrap (mise-bootstrap)

Bootstraps a project on container create. The mise binary is provided by the upstream ghcr.io/devcontainers-extra/features/mise feature (declared as a dependsOn, so it's installed automatically). On container create, this feature runs in the workspace folder:

  1. mise trust -y + mise install -y against mise.toml / .tool-versions.
  2. Detects the JS package manager from the lockfile and runs its install.

Example usage

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

With a mise.toml (or .tool-versions) at the workspace root:

[tools]
node = "20"
pnpm = "9"