Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support any Java base images #1215

Merged
merged 13 commits into from
Jan 22, 2020
Merged

Support any Java base images #1215

merged 13 commits into from
Jan 22, 2020

Conversation

astefanutti
Copy link
Member

@astefanutti astefanutti commented Jan 17, 2020

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 adoptopenjdk/openjdk8:slim. Besides improving the portability of Camel K as a platform, e.g. with multi-architecture support, one immediate advantage is the reduction of final image sizes, e.g.:

  • From 489MB to 260MB for the operator image
  • From 482MB to 240MB for a typical integration example

Further reduction is likely possible.

Fixes #394, incidentally fixes #1208.

Release Note

feat: Support any Java base images

@astefanutti astefanutti added status/wip Work in progress and removed status/wip Work in progress labels Jan 17, 2020
@astefanutti
Copy link
Member Author

Let me merge this as it's functional. I'll work on the remaining enhancements in separate PRs.

@astefanutti astefanutti merged commit 4c5c963 into apache:master Jan 22, 2020
@astefanutti astefanutti deleted the pr-94 branch January 22, 2020 15:58
@astefanutti astefanutti mentioned this pull request Jan 30, 2020
5 tasks
@nicolaferraro nicolaferraro mentioned this pull request Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disabling traits does not reflect in camel-k integration Decouple traits from base image
1 participant