Skip to content

Commit

Permalink
fix: stop using mirror.centos.org repo in e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Obuchowicz <[email protected]>
  • Loading branch information
AObuchow committed Jul 3, 2024
1 parent 71d8656 commit e9d488a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ci/oci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.20

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

RUN yum install --assumeyes -d1 python3-pip nodejs && \
pip3 install --upgrade pip && \
pip3 install --upgrade setuptools && \
Expand Down

0 comments on commit e9d488a

Please sign in to comment.