Class S2iConfig
java.lang.Object
io.quarkus.container.image.openshift.deployment.S2iConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe base image to be used when a container image is being produced for the jar build.The base image to be used when a container image is being produced for the native binary buildThe build config strategy to use.(package private) DurationThe build timeout.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe directory where the jar is added during the assemble phase.The resulting filename of the jar in the S2I image.The JVM arguments to pass to the JVM when starting the applicationAdditional arguments to pass when starting the native applicationThe directory where the native binary is added during the assemble phase.The resulting filename of the native binary in the S2I image. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDefaultJvmImage(io.quarkus.deployment.pkg.builditem.CompiledJavaVersionBuildItem.JavaVersion version) booleanCheck if baseJvmImage is the defaultbooleanCheck if baseNativeImage is the default
-
Field Details
-
DEFAULT_BASE_JVM_JDK17_IMAGE
- See Also:
-
DEFAULT_BASE_JVM_JDK21_IMAGE
- See Also:
-
DEFAULT_BASE_NATIVE_IMAGE
- See Also:
-
DEFAULT_NATIVE_TARGET_FILENAME
- See Also:
-
DEFAULT_JVM_DOCKERFILE
- See Also:
-
DEFAULT_NATIVE_DOCKERFILE
- See Also:
-
FALLBACK_JAR_DIRECTORY
- See Also:
-
FALLBACK_NATIVE_BINARY_DIRECTORY
- See Also:
-
buildStrategy
The build config strategy to use. -
baseJvmImage
The base image to be used when a container image is being produced for the jar build. When the application is built against Java 21 or higher,registry.access.redhat.com/ubi8/openjdk-21:1.18is used as the default. Otherwiseregistry.access.redhat.com/ubi8/openjdk-17:1.18is used as the default. -
baseNativeImage
@ConfigItem(defaultValue="quay.io/quarkus/ubi-quarkus-native-binary-s2i:2.0") public String baseNativeImageThe base image to be used when a container image is being produced for the native binary build -
jvmArguments
The JVM arguments to pass to the JVM when starting the application -
nativeArguments
Additional arguments to pass when starting the native application -
jarDirectory
The directory where the jar is added during the assemble phase. This is dependent on the S2I image and should be supplied if a non default image is used. -
jarFileName
The resulting filename of the jar in the S2I image. This option may be used if the selected S2I image uses a fixed name for the jar. -
nativeBinaryDirectory
The directory where the native binary is added during the assemble phase. This is dependent on the S2I image and should be supplied if a non-default image is used. -
nativeBinaryFileName
The resulting filename of the native binary in the S2I image. This option may be used if the selected S2I image uses a fixed name for the native binary. -
buildTimeout
The build timeout.
-
-
Constructor Details
-
S2iConfig
public S2iConfig()
-
-
Method Details
-
getDefaultJvmImage
public static String getDefaultJvmImage(io.quarkus.deployment.pkg.builditem.CompiledJavaVersionBuildItem.JavaVersion version) -
hasDefaultBaseJvmImage
public boolean hasDefaultBaseJvmImage()Check if baseJvmImage is the default -
hasDefaultBaseNativeImage
public boolean hasDefaultBaseNativeImage()Check if baseNativeImage is the default
-