apache / camel-k

Apache Camel K is a lightweight integration platform, born on Kubernetes, with serverless superpowers
https://camel.apache.org/camel-k
Apache License 2.0
867 stars 347 forks source link

Use JDK only when Java source #3743

Open squakez opened 2 years ago

squakez commented 2 years ago

When running an Integration we always use a JDK based image. We always need a JDK/JRE based container as at the end of the day we run a Camel application. Probably we can simply detect if an application has some java source (in which case we use the JDK), otherwise we can use a JRE image.

Originally posted by @squakez in https://github.com/apache/camel-k/issues/3424#issuecomment-1183210825

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale due to 90 days of inactivity. It will be closed if no further activity occurs within 15 days. If you think that’s incorrect or the issue should never stale, please simply write any comment. Thanks for your contributions!

mdebarros commented 8 months ago

Is a JDK base image also required when building "Quarkus native" Kits?

squakez commented 8 months ago

Is a JDK base image also required when building "Quarkus native" Kits?

No, in that case it uses quarkus-micro-image. See https://camel.apache.org/camel-k/2.2.x/traits/quarkus.html to override the default if it is required.