gnodet commented on PR #21990: URL: https://github.com/apache/camel/pull/21990#issuecomment-4089746352
We could offer both packaging options — fast-jar (Quarkus default) and uber-jar — via a flag on `camel jbang export` (e.g. `--packaging=uber-jar` or `--packaging=fast-jar`). Each has trade-offs: - **fast-jar** (Quarkus default): better startup time, better Docker layer caching (dependencies in separate layers), recommended by Quarkus community. Requires a Quarkus-specific Dockerfile that copies the `quarkus-app/` directory structure. - **uber-jar**: single fat jar, simpler generic Dockerfile that works across all runtimes (main, Spring Boot, Quarkus). Easier for getting started / prototyping. The question is which should be the default. Thoughts? Should we default to fast-jar to respect Quarkus conventions, or uber-jar for simplicity/consistency with the other runtimes? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
