okteto build
Build (and optionally push) a Docker image
Options
Name | Description |
---|---|
--loglevel, -l <loglevel> | Amount of information outputted (debug, info, warn, error) |
--output, -o <output> | Output format (tty, plain, json) |
--build-arg <build-arg> |
|
--cache-from <cache-from> |
|
--file, -f <file> | Name of the Dockerfile (Default is 'PATH/Dockerfile') |
--namespace <namespace> | Namespace against which the image will be consumed. Default is the one defined at okteto context or okteto manifest |
--no-cache | Do not use cache when building the image |
--progress <progress> | Show plain/tty build output |
--secret <secret> |
|
--tag, -t <tag> | Name and optionally a tag in the 'name:tag' format (it is automatically pushed) |
--target <target> | Set the target build stage to build |
--help, -h | Help for build |