-
Notifications
You must be signed in to change notification settings - Fork 79
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
[CLOUD-3387] s2i/run attempts to source missing scl-enable-maven #354
Comments
Ultimately we can probably delete those two lines from the s2i/run script. |
same issue with openjdk/openjdk-11-rhel8 but not openjdk/openjdk-11-rhel7 or redhat-openjdk-18/openjdk18-openshift:1.6 |
In the working image, |
This is the line that creates the symlink:
There's a few things wrong there. It's 35-specific so will fail for 36 amongst other things. There directory is created by the 35scl module when copying in the single file |
don't try to enable Maven (Via SCL) in the s2i run script. We might not have provided Maven via SCL in the image anyway. Fixes jboss-openshift#354. Signed-off-by: Jonathan Dowland <[email protected]>
RHEL7-based images that use SCL to provide Maven need this in order to have Maven available in the run environment (although I'd be surprised if anyone actually used that) Fixes GitHub jboss-openshift#354. Signed-off-by: Jonathan Dowland <[email protected]>
RHEL7-based images that use SCL to provide Maven need this in order to have Maven available in the run environment (although I'd be surprised if anyone actually used that) Fixes GitHub #354. Signed-off-by: Jonathan Dowland <[email protected]>
FYI: The error A simple |
That should be fine. I think we fixed this a while ago in our development branch but we haven't made a release since. (Soon!) |
With the OpenJDK RHEL8/JDK11 image, on start up, one gets the following error
The image uses the following modules at the top level (image):
Cekit (3.4.0) unravels this to the following full list
the script
jboss/container/java/s2i/bash/artifacts/usr/local/s2i/run
contains the following(that comment looks suspicious)
the var JBOSS_CONTAINER_MAVEN_DEFAULT_MODULE is not set in that script. It's defined as set in
jboss/container/maven/default/bash/module.yaml
, so it's set by the build process (in the Dockerfile) to/opt/jboss/container/maven/default/
.The text was updated successfully, but these errors were encountered: