kosa8 docs

Commands / kosa8 build

kosa8 build

Build an image from a Dockerfile

Usage

kosa8 build [PATH]

Builds inside the engine VM, so the build cannot reach your filesystem outside the context directory you give it. The context is sent to the VM first, so a directory full of large files it does not need makes every build slower — a .dockerignore is worth writing.

Options

FlagTypeWhat it doesDefault
--build-argstringArraybuild-time variable KEY=VALUE[]
-f, --filestringDockerfile name within the contextDockerfile
-t, --tagstringname for the built image