Open ryran opened 5 years ago
PS: I went down a whole rabbit-hole trying to get it to work by replacing registry.access.redhat.com with registry.redhat.io but I got even less far with that. Also tried to switch over to using the centos one but couldn't get that to work either. Why not just use centos/fedora for something like this? ...
Sorry about the late response. It looks like you were hit by subscription-manager, repo issues, or recent changes to the rhel7-minimal image. There is a CentOS Dockerfile [0]. I'm planning on reworking/rebasing this around UBI7/8 soon. BTW, the goal is to enable a simple, lightweight, text mode development environment [1] like Eclipse Che that can be deployed on OpenShift, but a lot lighter. ocp-shellinabox containers are happy to run in 32MB or 64MB.
[0] https://github.com/lpsantil/ocp-shellinabox/blob/master/Dockerfile.centos7 [1] https://github.com/shellinabox/shellinabox/raw/master/misc/preview.gif?raw=true
I'm intrigued by the prospect of this, even though I don't quite understand yet what it will offer. That is to say, I can't get it to work yet.
Using either template, the build fails. Either with
librhsm-WARNING **: 03:25:44.883: Found 0 entitlement certificates
....Or with
microdnf: command not found
...What am I missing?