diff --git a/.ci/openshift-ci/Dockerfile b/.ci/openshift-ci/Dockerfile index 0f2a70e508..8c011ea9b1 100644 --- a/.ci/openshift-ci/Dockerfile +++ b/.ci/openshift-ci/Dockerfile @@ -11,20 +11,15 @@ # Red Hat, Inc. - initial API and implementation # Dockerfile to bootstrap build and test in openshift-ci -FROM registry.ci.openshift.org/openshift/release:golang-1.20 +FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.25-openshift-4.22 # hadolint ignore=DL3002 USER 0 SHELL ["/bin/bash", "-c"] -# Temporary workaround since mirror.centos.org is down and can be replaced with vault.centos.org -RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \ - sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \ - sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo - # hadolint ignore=DL3041 # Install yq, kubectl, chectl cli. -RUN yum install --assumeyes -d1 psmisc python3-pip httpd-tools nodejs && \ +RUN dnf install --assumeyes -q psmisc python3-pip httpd-tools nodejs && \ pip3 install --upgrade setuptools && \ pip3 install yq && \ curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \