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
| Flag | Type | What it does | Default |
|---|---|---|---|
--build-arg | stringArray | build-time variable KEY=VALUE | [] |
-f, --file | string | Dockerfile name within the context | Dockerfile |
-t, --tag | string | name for the built image | — |