kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / template / build

kosa8 template build

Build a template from a Dockerfile

Usage#

kosa8 template build NAME [PATH]

Options#

FlagTypeWhat it doesDefault
--build-argstringArraybuild-time variable KEY=VALUE[]
--egressstringnetwork policy for the build: any (default), deny, or allow:HOST[,HOST…]—
-f, --filestringDockerfile name within the contextDockerfile
--replaceboolbuild again over an existing template of the same name—

Example#

  kosa8 template build py ./env
  kosa8 template build py -f Dockerfile.agent --build-arg PY=3.12 --replace .

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA