arctl build
Build the Docker image for a project created with ‘arctl init’.
Reads arctl.yaml in the project directory to look up the matching framework by (framework, language) and dispatches to its build command. Image tag is taken from the declarative YAML’s spec (or –image override).
Supported kinds: Agent, MCPServer
Usage
arctl build DIRECTORY [flags]Example:
arctl build ./my-agent
arctl build ./my-server --push
arctl build ./my-agent --image ghcr.io/acme/my-agent:v1.0.0 --platform linux/amd64Command-specific flags
--image string: Docker image tag override (default: from spec.source.image / spec.source.package.origin.identifier).
--platform string: Target platform (e.g. linux/amd64, linux/arm64).
--push: Push the image after building.Global flags
-h, --help: Display help information for the command.