Skip to content

Commit

Permalink
apacheGH-43122: [CI][Packaging][RPM][CentOS] Use vault.centos.org for…
Browse files Browse the repository at this point in the history
… SCL
  • Loading branch information
kou committed Jul 3, 2024
1 parent fd6bf5a commit 63be200
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ENV \
ARG DEBUG

# GH-42128
# Switch repos to point to to vault.centos.org because Centos 7 is EOL
# Switch repos to point to to vault.centos.org because CentOS 7 is EOL
RUN sed -i \
-e 's/^mirrorlist/#mirrorlist/' \
-e 's/^#baseurl/baseurl/' \
Expand All @@ -37,6 +37,11 @@ RUN \
yum install -y ${quiet} \
centos-release-scl-rh \
epel-release && \
sed -i \
-e 's/^mirrorlist/#mirrorlist/' \
-e 's/^#baseurl/baseurl/' \
-e 's/mirror\.centos\.org/vault.centos.org/' \
/etc/yum.repos.d/CentOS-SCLo-scl-rh.repo && \
yum install -y ${quiet} \
${SCL}-gcc-c++ \
${SCL}-make \
Expand Down

0 comments on commit 63be200

Please sign in to comment.