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

✨ [Docker] Migrated from java-11-openjdk to java-11-openjdk-headless JVM package #4183

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

Coduz
Copy link
Contributor

@Coduz Coduz commented Jan 27, 2025

This PR changes the version of JDK 11 installed on our java-base image.

Moving to this JDK we optimize the Docker Image footprint

Comparison with standard version:

Container java-11-openjdk java-11-openjdk-headless
kapua/java-base 610 MB 591 MB
kapua/jetty-base 659 MB 639 MB
kapua/kapua-sql 615 MB 595 MB
kapua/kapua-events-broker 867 MB 848 MB
kapua/kapua-api 925 MB 905 MB
kapua/kapua-job-engine 892 MB 873 MB
kapua/kapua-broker-artemis 962 MB 943 MB
kapua/kapua-service-authentication 636 MB 716 MB
kapua/kapua-consumer-lifecycle 750 MB 730 MB
kapua/kapua-consumer-telemetry 741 MB 721 MB

The java-base image shrinks of 19 MB, which are saved for each of the Docker container that are using it (all of them).

Related Issue
None

Description of the solution adopted
Replaced JDK 11 package installed from java-11-openjdk to java-11-openjdk-headless

Screenshots
None

Any side note on the changes made
None

@Coduz Coduz added the Enhancement This PR/Issue improves an part of Kapua label Jan 27, 2025
@Coduz Coduz merged commit 77f9ef3 into eclipse-kapua:develop Jan 27, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement This PR/Issue improves an part of Kapua
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant