OpenJDK container image missing /opt/rh/rh-java-common/enable
Issue
Docker build process fails due to missing /opt/rh/rh-java-common/enable
for image based on openjdk18-openshift
.
Step 8 : RUN bash /opt/rh/rh-java-common/enable
---> Running in 2427669e1dbf
bash: /opt/rh/rh-java-common/enable: No such file or directory
error: build error: The command '/bin/sh -c bash /opt/rh/rh-java-common/enable' returned a non-zero code: 127
Environment
- Red Hat Enterprise Linux 7
- Red Hat OpenShift Container Platform 3
- Red Hat Software Collections
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.