Skip to main content

Module build

Module build 

Source
Expand description

outrig image build – build a standalone image project and validate it.

Reads PROJECT_DIR/image.toml, serializes it into OCI labels, builds the declared image with buildah (tagged by [image].ref, or --tag <ref>, and stamped with those labels), then starts a throwaway container to prove the result is a usable OutRig toolset image: it must carry a valid org.outrig.mcp label, and – unless --no-test – every declared MCP server must initialize and answer tools/list.

Unlike repo-local outrig build, there is no content-addressed cache: the output is a caller-named ref, so --no-cache only forwards to buildah.

Functions§

run
Build the standalone image project in dir (relative to cwd, or cwd itself when dir is None), then validate the built image.