Package io.quarkus.deployment.pkg
Interface NativeConfig.BuilderImageConfig
- Enclosing interface:
NativeConfig
public static interface NativeConfig.BuilderImageConfig
-
Method Details
-
image
@WithParentName @WithDefault("${platform.quarkus.native.builder-image}") @ConfigDocDefault("mandrel") String image()The docker image to use to do the image build. It can be one of `graalvm`, `mandrel`, or the full image path, e.g.quay.io/quarkus/ubi9-quarkus-mandrel-builder-image:jdk-21.Note: Builder images are available using UBI 8 and UBI 9 base images, for example:
- UBI 8:
quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21(UBI 8) - UBI 9:
quay.io/quarkus/ubi9-quarkus-mandrel-builder-image:jdk-21(UBI 9)
You need to be aware that if you use a builder image using UBI9 and you plan to build a container, you must ensure that the base image used in the container is also UBI9.
- UBI 8:
-
pull
The strategy for pulling the builder image during the build.Defaults to 'always', which will always pull the most up-to-date image; useful to keep up with fixes when a (floating) tag is updated.
Use 'missing' to only pull if there is no image locally; useful on development environments where building with out-of-date images is acceptable and bandwidth may be limited.
Use 'never' to fail the build if there is no image locally.
-
getEffectiveImage
-