Skip to content

Conversation

@jmtd
Copy link
Member

@jmtd jmtd commented Nov 28, 2025

In the JRE modules, set JAVA_HOME to a path which is valid for both the builder and runtime images.

In the JDK modules, stop defining JAVA_HOME, JAVA_VENDOR and JAVA_VERSION: inherit the values from the JRE modules instead.

https://issues.redhat.com/browse/OPENJDK-4284

@jmtd jmtd added the ubi10 RHEL UBI10 label Nov 28, 2025
@jmtd jmtd force-pushed the ubi10-shrink-jdk-modules branch from 92af90f to 032dd04 Compare November 28, 2025 10:49
In the JRE modules, set JAVA_HOME to a path which is valid
for both the builder and runtime images.

In the JDK modules, stop defining JAVA_HOME, JAVA_VENDOR and
JAVA_VERSION: inherit the values from the JRE modules instead.
Similarly for labels.

Signed-off-by: Jonathan Dowland <jdowland@redhat.com>
@jmtd jmtd force-pushed the ubi10-shrink-jdk-modules branch from 032dd04 to 487eb5a Compare November 28, 2025 10:50
@jmtd jmtd requested a review from jerboaa December 1, 2025 11:17
@jerboaa
Copy link
Contributor

jerboaa commented Dec 1, 2025

Please merge latest ubi10 branch to see JDK 25 testing as well. Thanks!

@jmtd jmtd merged commit 0a52a9d into rh-openjdk:ubi10 Dec 2, 2025
4 checks passed
@jmtd jmtd deleted the ubi10-shrink-jdk-modules branch December 2, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ubi10 RHEL UBI10

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants