kou commented on code in PR #43121:
URL: https://github.com/apache/arrow/pull/43121#discussion_r1663661480


##########
ci/docker/python-wheel-manylinux.dockerfile:
##########
@@ -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; \

Review Comment:
   We can use one `sed`: 
https://github.com/apache/arrow/commit/69e8a78c018da88b60f9eb2b3b45703f81f3c93d



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to