diff --git a/core/creator/src/main/java/io/quarkus/creator/phase/nativeimage/NativeImagePhase.java b/core/creator/src/main/java/io/quarkus/creator/phase/nativeimage/NativeImagePhase.java index 0dcfe56c36432..45cc1890dfc4a 100644 --- a/core/creator/src/main/java/io/quarkus/creator/phase/nativeimage/NativeImagePhase.java +++ b/core/creator/src/main/java/io/quarkus/creator/phase/nativeimage/NativeImagePhase.java @@ -85,7 +85,7 @@ public class NativeImagePhase implements AppCreationPhase, Nat private String nativeImageXmx; - private String builderImage = "quay.io/quarkus/centos-quarkus-native-image:graalvm-1.0.0-rc16"; + private String builderImage = "quay.io/quarkus/ubi-quarkus-native-image:19.0.2"; private String containerRuntime = ""; @@ -518,10 +518,10 @@ private boolean isThisGraalVMRCObsolete() { final String vmName = System.getProperty("java.vm.name"); log.info("Running Quarkus native-image plugin on " + vmName); final List obsoleteGraalVmVersions = Arrays.asList("-rc9", "-rc10", "-rc11", "-rc12", "-rc13", "-rc14", - "-rc15"); + "-rc15", "-rc16", "19.0.0"); final boolean vmVersionIsObsolete = obsoleteGraalVmVersions.stream().anyMatch(vmName::contains); if (vmVersionIsObsolete) { - log.error("Out of date RC build of GraalVM detected! Please upgrade to GraalVM RC16"); + log.error("Out of date RC build of GraalVM detected! Please upgrade to GraalVM 19.0.2"); return true; } return false; diff --git a/docs/src/main/asciidoc/openshift-s2i-guide.adoc b/docs/src/main/asciidoc/openshift-s2i-guide.adoc index 08d80bef76cf2..75d8d6a7c628e 100644 --- a/docs/src/main/asciidoc/openshift-s2i-guide.adoc +++ b/docs/src/main/asciidoc/openshift-s2i-guide.adoc @@ -37,7 +37,7 @@ We are going to create an OpenShift `build` executing it: [source,shell, subs="attributes"] ---- # To build the image on OpenShift -oc new-app quay.io/quarkus/centos-quarkus-native-s2i~{quickstarts-clone-url} --context-dir=getting-started --name=quarkus-quickstart-native +oc new-app quay.io/quarkus/ubi-quarkus-native-s2i:{graalvm-version}~{quickstarts-clone-url} --context-dir=getting-started --name=quarkus-quickstart-native oc logs -f bc/quarkus-quickstart-native # To create the route @@ -111,7 +111,7 @@ The end result is an image that is less than 40 MB in size (compressed) and does The minimal build is depending on the S2I build since it is using the output (native runnable application) from the S2I build. However, you do not need to create an application with `oc new-app`. Instead you could use `oc new-build` like this: [source, shell, subs="attributes"] ---- -oc new-build quay.io/quarkus/centos-quarkus-native-s2i~{quickstarts-clone-url} \ +oc new-build quay.io/quarkus/ubi-quarkus-native-s2i:{graalvm-version}~{quickstarts-clone-url} \ --context-dir=getting-started --name=quarkus-quickstart-native ---- ====