-
Notifications
You must be signed in to change notification settings - Fork 324
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
Build support #719
Comments
Why do you need to interact with SCL (software collections)? The nodejs version in this container image is 20.9.0 and you can run it without anything else:
|
Thanks for the quick replay on this. We want to update the python version to 3.11 also move from CentOs 7 to Centos stream 9 by using the image quay.io/sclorg/python-311-c9s:c9s and We have some configuration that use SLC as described on this assemble file https://github.com/jupyter-on-openshift/jupyter-notebooks/blob/develop/minimal-notebook/.s2i/bin/assemble (lines 95 and 96) Is there a workaround to perform this installation steps with image python-311-c9s:c9s? I have tried: (cd /opt/app-root/gateway && source /usr/bin/node && But I am getting a failure message saying that "/opt/app-root/s2i/assemble: line 130: source: /usr/bin/node: cannot execute binary" file Regards, |
I'm sorry, but it seems you don't understand what SCLs are for or what the I think you can turn this:
into this:
This command should be enough to install nodejs packages. If it doesn't work, please provide the log of the build process. |
Ok that did it, thanks for the help, the build was successful. Have a nice day |
I'm glad it did. Thank you for letting me know. |
Hi, we are trying to build a Jupyter Notebook by using quay.io/sclorg/python-311-c9s:c9s (CentoOS Stream 9) as based image.
Currently we are facing a build issue to execute these commands
(cd /opt/app-root/gateway && source scl_source enable nodejs20 &&
npm install --production)
Please notice that I changed the nodejs20 because this is the version of nodejs that is installed on python-311-c9s:c9s image
As you can see, this requires installation of centos-release-scl and centos-release-scl-rh packages for CentOS Stream 9 and We had tried to install these packages but no success so far.
Is there a way to execute those commands by using the based image mentioned (python-311-c9s:c9s )? Or do you know if could be possible have installed these packages for CentOS Stream 9?
Thanks,
The text was updated successfully, but these errors were encountered: