Skip to content
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

Create workshopper image in OpenShift #65

Open
olaf-meyer opened this issue Sep 19, 2018 · 0 comments
Open

Create workshopper image in OpenShift #65

olaf-meyer opened this issue Sep 19, 2018 · 0 comments

Comments

@olaf-meyer
Copy link

Hello,

I'd like to use the workshopper in my company with the limitation, that I can only use OpenShift for building the workshopper docker image and to use the default RedHat rpm repositories. I'm modified the Dockerfile in that manner that it is using the RHEL 7 image as a base image and enabled the rhscl repository to install ruby 2.5. Furthermore
Dockerfile.txt

the option "ADD --chown=workshopper:root ..." was not working with OpenShift 3.9. Also I added to commands with "RUN gem ..." or "RUN bundle ..." the prefix "source scl_source enable rh-ruby25" to test the execution.

The OpenShift build breaks at after updating the system gems with the error message "ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory @ dir_chdir - /opt/rh/rh-ruby25/root/usr/share/gems/gems/rubygems-update-2.7.7". Do you know were the error is in my Dockerfile?

This is my current setup:
oc v3.10.0+dd10d17
kubernetes v1.10.0+b81c8f8
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://master.xxx:443
openshift v3.9.30
kubernetes v1.9.1+a0ce1bc657

Also I attached my modified Dockerfile.

Thanks very much in advance,

Olaf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant