You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/01/17 15:53:53 UTC
[GitHub] [camel-k] astefanutti opened a new pull request #1215: Support any
Java base images
astefanutti opened a new pull request #1215: Support any Java base images
URL: https://github.com/apache/camel-k/pull/1215
This PR aims at removing the requirement to use the `fabric8/s2i-java:3.0-java8` base image, both for the operator image and the integration kits.
As an example, this PR defaults to using the `maven:3.6.3-jdk-8-slim` base image for the operator, and the `openjdk:11.0-jre` base image for the integration kits. Besides improving the portability of Camel K as a platform, one immediate advantage is the reduction of final image sizes, e.g.:
* From 489MB to 362MB for the operator image
* From 482MB to 320MB for a typical integration example
Further reduction is likely possible.
TODO:
- [ ] In container JVM tuning
- [ ] Complete the decoupling for the `debug`, `jolokia`,`knative-service` and `prometheus` traits
- [ ] Rename the `classpath` trait to `java`?
Fixes #394, incidentally fixes #1208.
**Release Note**
```release-note
feat: Support any Java base images
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [camel-k] astefanutti commented on issue #1215: Support any Java
base images
Posted by GitBox <gi...@apache.org>.
astefanutti commented on issue #1215: Support any Java base images
URL: https://github.com/apache/camel-k/pull/1215#issuecomment-577254522
Let me merge this as it's functional. I'll work on the remaining enhancements in separate PRs.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [camel-k] astefanutti merged pull request #1215: Support any Java
base images
Posted by GitBox <gi...@apache.org>.
astefanutti merged pull request #1215: Support any Java base images
URL: https://github.com/apache/camel-k/pull/1215
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services