snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Integrate AppCDS generation into Jib container image generation #248

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

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$