Skip to content

Commit

Permalink
Fixup epel URL for Centos7
Browse files Browse the repository at this point in the history
CMK-21154

Change-Id: Ie93c50c3ce53cc17b818fe630a82c0b7df60389e
  • Loading branch information
JonasScharpf committed Jan 14, 2025
1 parent 20dbd3a commit e7aa978
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildscripts/infrastructure/build-nodes/centos-7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ RUN yum -y --enablerepo=extras install \
RUN sed -i 's/metalink=/#metalink=/g' /etc/yum.repos.d/epel*
RUN sed -i 's|^#.*baseurl=http|baseurl=http|g' /etc/yum.repos.d/epel*

RUN sed -i 's|baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch|baseurl=https://archives.fedoraproject.org/pub/archive/epel/7/$basearch|g' /etc/yum.repos.d/epel.repo
RUN sed -i 's|baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug|baseurl=https://archives.fedoraproject.org/pub/archive/epel/7/$basearch/debug|g' /etc/yum.repos.d/epel.repo
RUN sed -i 's|baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS|baseurl=https://archives.fedoraproject.org/pub/archive/epel/7/SRPMS|g' /etc/yum.repos.d/epel.repo

RUN yum -y install \
centos-release-scl-rh

Expand Down

0 comments on commit e7aa978

Please sign in to comment.