Public beta — not for production use. Data may be wiped at any time. Questions? Contact us.
Documentation menu

axiom build

Build a local Docker image identical to the publish pipeline

View as Markdown
<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT. Source of truth: the cobra command definitions in cmd/axiom/cmd/. Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->

axiom build

Build a local Docker image identical to the publish pipeline

Full local reproducible build — identical artifacts to the publish pipeline.

Steps:

1. Compile proto bindings  (axiom generate)
2. Validate package        (axiom validate)
3. Generate gRPC service   (.axiom/service.<ext>)
4. Generate Dockerfile     (.axiom/Dockerfile)
5. Assemble build context  (.axiom/image/)
6. Build Docker image      (docker build)

All artifacts are written to .axiom/ and are fully inspectable.

Usage

axiom build [flags]

Flags

FlagShorthandTypeDefaultDescription
--help-hboolhelp for build

See also