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 rockylinux:8-minimal to rockylinux:9-minimal base image #4182

Merged

Conversation

Coduz
Copy link
Contributor

@Coduz Coduz commented Jan 24, 2025

This PR changes the base image used to build our java-base image for Docker containers

Main scope of this change is to move to a more recent base image and also improve Docker image footprint.

Container Size Rockylinux 8-minimal Size Rockylinux 9-minimal
kapua/java-base 640MB 610 MB
kapua/jetty-base 689 MB 659 MB
kapua/kapua-sql 645 MB 615 MB
kapua/kapua-events-broker 897 MB 867 MB
kapua/kapua-api 955 MB 925 MB
kapua/kapua-job-engine 922 MB 892 MB
kapua/kapua-broker-artemis 992 MB 962 MB
kapua/kapua-service-authentication 766 MB 636 MB
kapua/kapua-consumer-lifecycle 780 MB 750 MB
kapua/kapua-consumer-telemetry 771 MB 741 MB

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

Moving to 9-minimal also decreases the number of vulnerabilities for our Docker images.

Screenshot 2025-01-27 at 16 16 40
Screenshot 2025-01-27 at 16 16 59

Related Issue
None

Description of the solution adopted
Updated the base image reference from 8-minimal to 9-minimal

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 force-pushed the feat-migrationToRockylinux9-minimal branch from 4ca3b17 to 206c6c4 Compare January 27, 2025 15:27
@Coduz Coduz marked this pull request as ready for review January 27, 2025 15:32
@Coduz Coduz merged commit d66614b 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