cloud-native-toolkit / cloud-native-toolkit/planning

Use ubi8/openjdk-11-runtime UBI

Open
#835 0 comments 0 reactions 0 assignees View on GitHub
code pattern
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The [Dockerfile](https://github.com/IBM/template-java-spring/blob/main/Dockerfile) in the Java Spring template builds from the ubi8/openjdk-11 UBI. I just discovered that Red Hat also has a ubi8/openjdk-11-runtime UBI. Perhaps our template should use that instead.

The [ubi8/openjdk-11:1.3-15](https://catalog.redhat.com/software/containers/ubi8/openjdk-11/5dd6a4b45a13461646f677f4) image says it is 583.7 MB uncompressed, whereas the [ubi8/openjdk-11-runtime:1.9-1](https://catalog.redhat.com/software/containers/ubi8/openjdk-11-runtime/606dcb7d0f75e8ece4deec1f) image is 347.0 MB uncompressed. So switching to it would make our images 40% smaller.

Seems like openjdk-runtime should be called openjre!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.