Skip to content

Commit

Permalink
GH-43119: [CI][Packaging] Update Manylinux 2014 Centos repos that hav…
Browse files Browse the repository at this point in the history
…e been deprecated
  • Loading branch information
raulcd committed Jul 2, 2024
1 parent fd6bf5a commit af6fa64
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci/docker/python-wheel-manylinux.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ ARG manylinux
ENV MANYLINUX_VERSION=${manylinux}

# Ensure dnf is installed, especially for the manylinux2014 base
RUN if [ "${MANYLINUX_VERSION}" == "2014" ] then; \
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 \
fi
RUN yum install -y dnf

# Install basic dependencies
Expand Down

0 comments on commit af6fa64

Please sign in to comment.