You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While getting CDS to work with containerizingMode packaged & jib works, I'm left wondering if CDS is set up as good as can be. I'm in doubt, because there's still wildcard usage on the classpath.
I'd expect jib-maven-plugin to offer a containerizingMode that aligns with the way Spring recommends containerizing applications when using CDS. If for whatever reason such a mode shall not be provided, I'd expect some kind of documentation acknowledging the situation and explaining jib-maven-plugin's preferred to support CDS usage.
The intention of Jib is to add individual class files, resources, and dependency JARs into the container instead of
putting a JAR. This lets Jib choose an opinionated, optimal layout for the application on the container image, which
also allows it to skip the extra JAR-packaging step.
.. which I /think/ does not conflict with what Spring is advising.
The text was updated successfully, but these errors were encountered:
Environment:
Description of the issue:
While getting CDS to work with containerizingMode
packaged
& jib works, I'm left wondering if CDS is set up as good as can be. I'm in doubt, because there's still wildcard usage on the classpath.I'm wondering if this plugin shouldn't align with what Spring describes.
https://docs.spring.io/spring-boot/reference/deployment/efficient.html#deployment.efficient
This results in a directory/file layout like so:
Expected behavior:
I'd expect jib-maven-plugin to offer a
containerizingMode
that aligns with the way Spring recommends containerizing applications when using CDS. If for whatever reason such a mode shall not be provided, I'd expect some kind of documentation acknowledging the situation and explaining jib-maven-plugin's preferred to support CDS usage.I read https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#i-want-to-containerize-a-jar ->
.. which I /think/ does not conflict with what Spring is advising.
The text was updated successfully, but these errors were encountered: