From 2c363d1f6fe728a6f35e8b3534e5e2526679e1ac Mon Sep 17 00:00:00 2001 From: Clement Escoffier Date: Mon, 7 Nov 2022 08:58:57 +0100 Subject: [PATCH] Document that Mandrel 22.3 does not provide a -java11 image anymore --- docs/src/main/asciidoc/building-native-image.adoc | 11 +++++++++-- docs/src/main/asciidoc/native-reference.adoc | 7 +++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/building-native-image.adoc b/docs/src/main/asciidoc/building-native-image.adoc index d7d2c1fc0df20..058363cb79c14 100644 --- a/docs/src/main/asciidoc/building-native-image.adoc +++ b/docs/src/main/asciidoc/building-native-image.adoc @@ -615,8 +615,15 @@ If you need SSL support in your native executable, you can easily include the ne Please see xref:native-and-ssl.adoc#working-with-containers[our Using SSL With Native Executables guide] for more information. ==== -NOTE: To use Mandrel instead of GraalVM CE, update the `FROM` clause to: `FROM quay.io/quarkus/ubi-quarkus-mandrel-builder-image:$TAG AS build`. -`$TAG` can be found on the https://quay.io/repository/quarkus/ubi-quarkus-mandrel-builder-image?tab=tags[Quarkus Mandrel Images Tags page]. +[NOTE,subs=attributes+] +==== +To use Mandrel instead of GraalVM CE, update the `FROM` clause to: `FROM quay.io/quarkus/ubi-quarkus-mandrel-builder-image:{mandrel-flavor} AS build`. +==== + +[NOTE] +==== +Starting with 22.3, Mandrel does not provide a `-java11` variant anymore. Use the `-java17` image instead. +==== === Using a Distroless base image diff --git a/docs/src/main/asciidoc/native-reference.adoc b/docs/src/main/asciidoc/native-reference.adoc index 8f8264bfa0db6..44fd4062fd6c3 100644 --- a/docs/src/main/asciidoc/native-reference.adoc +++ b/docs/src/main/asciidoc/native-reference.adoc @@ -215,6 +215,13 @@ quarkus.container-image.build=true quarkus.container-image.group=test ---- +[IMPORTANT] +==== +Starting with 22.3, Mandrel does not provide a `-java11` version anymore. +Note, however, that this doesn't mean that you may no longer produce native executables with Mandrel for Java 11 projects. +You can still compile your Java 11 projects using OpenJDK 11 and produce native executables from the resulting Java 11 bytecode using the `-java17` Mandrel builder images. +==== + === First Debugging Steps As a first step, change to the project directory and build the native executable for the application: