Expand description
outrig image init – noninteractive scaffolding of a standalone image project.
Unlike outrig image add (which writes a repo-local image-config under
.agents/outrig/images/<name>/ and mutates the repo config.toml), init
creates an independent project whose build output is a reusable container
image. It writes three files into a target directory – Dockerfile,
image.toml, and README.md – and touches nothing else.
The Dockerfile body is the same one outrig image add would render for a
Debian-slim base with the filesystem MCP server. The generated image.toml
stays beside the Dockerfile as the authoring source; outrig image build
validates it and stamps its config into OCI labels.
Functions§
- run
- Scaffold a standalone image project in
dir(relative tocwd, orcwditself whendirisNone). The project name – used as theimage.refand in the README’s consuming config – is the target directory’s basename.