Skip to content

Conversation

jmtd
Copy link
Member

@jmtd jmtd commented Jun 3, 2025

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

Remove the broken implementation of supporting src/run.sh as an alternative run script in app sources. The feature was broken accidentally in 2018 and has never worked in a UBI image. Users can override RUN (or ENTRYPOINT) instead.

The logic for the feature complicates the fix for [OPENJDK-2968] Runtime images don't properly support JAVA_ARGS (#589 ).

@jmtd jmtd added the ubi9 RHEL UBI 9 label Jun 3, 2025
@jmtd jmtd marked this pull request as ready for review July 23, 2025 14:08
@jmtd jmtd requested a review from jerboaa July 23, 2025 14:09
@jmtd jmtd force-pushed the OPENJDK-3856-vestigal-run branch from bbf9e78 to 944bdc0 Compare August 4, 2025 14:30
@jmtd jmtd force-pushed the OPENJDK-3856-vestigal-run branch from 944bdc0 to 664fa6a Compare September 11, 2025 07:27
@jmtd
Copy link
Member Author

jmtd commented Sep 11, 2025

rebased PR to trigger a new GHA run

@jmtd
Copy link
Member Author

jmtd commented Sep 15, 2025

finally green lights on GHA for this PR @jerboaa , when you have time please re-look :)

@jmtd
Copy link
Member Author

jmtd commented Sep 15, 2025

Just some notes on how I re-checked that the feature doesn't work

1c4d482 is a basic test of the functionality

the result is something like

Starting the application using the bundled /deployments/bin/run.sh ...
/usr/local/s2i/run: line 18: /bin/run.sh: No such file or directory

@jerboaa
Copy link
Contributor

jerboaa commented Sep 15, 2025

GH bot labeller failures are a bit annoying.

@jmtd jmtd merged commit 3267852 into rh-openjdk:ubi9 Sep 15, 2025
3 of 8 checks passed
@jmtd jmtd deleted the OPENJDK-3856-vestigal-run branch September 15, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ubi9 RHEL UBI 9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants