Skip to content

poe build-image

Build the container image using a project-owned or bundled Dockerfile.

Category: container-images

Tags: build, containers

Usage

poe build-image [DOCKER_BUILD_OPTIONS...] [--debug] [--no-cache] [--plain] [--single-arch] [--dockerfile-path DOCKERFILE_PATH] [--dockerfile-hook-path DOCKERFILE_HOOK_PATH] [--container-env CONTAINER_ENV...] [--container-envfile CONTAINER_ENVFILE...]

Arguments

Argument Type Description Default
docker_build_options... string, repeatable Additional options passed directly to docker build. Provide them after the task's -- separator. Overrides CONTAINER_DOCKER_BUILD_OPTIONS when provided.
--debug boolean Build the debug image. false
--no-cache boolean Do not use cache when building the image. false
--plain boolean Do not pretty-print output. false
--single-arch boolean Build images for a single architecture. false
--dockerfile-path string Optional project-owned Dockerfile. Overrides CONTAINER_DOCKERFILE_PATH if provided.
--dockerfile-hook-path string Optional executable script path that can mutate the selected Dockerfile before build. Overrides CONTAINER_DOCKERFILE_HOOK_PATH if provided.
--container-env string, repeatable Builder and runtime environment declarations as repeated KEY=VALUE values.
--container-envfile string, repeatable Optional repeated list of files containing builder and runtime environment declarations.