Last active
July 3, 2023 11:17
-
-
Save tommeramber/11f5d78bcae795e092ef7926da5a58cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM registry.access.redhat.com/ubi8/ubi:latest | |
RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm &&\ | |
yum install -y podman skopeo curl jq wget &&\ | |
yum clean all &&\ | |
rm -rf /var/cache/yum &&\ | |
wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz &&\ | |
tar xzvf openshift-client-linux.tar.gz -C /usr/local/bin/ &&\ | |
wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/oc-mirror.tar.gz &&\ | |
tar xzvf oc-mirror.tar.gz -C /usr/bin/ | |
RUN mkdir -p /root/.docker/ &&\ | |
chmod +x /usr/bin/oc-mirror | |
CMD ["/usr/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment