Description
AppCDS generation currently is not baked into container image generation with Jib.
We should add this feature because creating AppCDS for use in a container image is very tricky due to the need to have the JVM version and classpaths match perfectly.
Implementation ideas
We can use the same trick that we use when quarkus.native.container-build=true is active - that is run the actual AppCDS generation with the JVM specified in the base image. That will result in an AppCDS file that can be used by the container image.
Description AppCDS generation currently is not baked into container image generation with Jib. We should add this feature because creating AppCDS for use in a container image is very tricky due to the need to have the JVM version and classpaths match perfectly.
Implementation ideas We can use the same trick that we use when
quarkus.native.container-build=true
is active - that is run the actual AppCDS generation with the JVM specified in the base image. That will result in an AppCDS file that can be used by the container image.https://github.com/quarkusio/quarkus/issues/14607
$upstream:14607$