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


##########
dev/tasks/linux-packages/apache-arrow/yum/centos-8-stream/Dockerfile:
##########
@@ -20,6 +20,14 @@ FROM ${FROM}
 
 ARG DEBUG
 
+# GH-42128
+# Switch repos to point to to vault.centos.org because Centos Stream 8 is EOL
+RUN sed -i \
+  -e 's/mirrorlist/#mirrorlist/' \
+  -e 's/#baseurl/baseurl/' \
+  -e 's/mirror.centos.org/vault.centos.org/' \

Review Comment:
   ```suggestion
     -e 's/^mirrorlist/#mirrorlist/' \
     -e 's/^#baseurl/baseurl/' \
     -e 's/mirror\\.centos\\.org/vault.centos.org/' \
   ```



##########
dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile:
##########
@@ -23,6 +23,14 @@ ENV \
 
 ARG DEBUG
 
+# GH-42128
+# 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/' \
+  -e 's/mirror.centos.org/vault.centos.org/' \

Review Comment:
   ```suggestion
     -e 's/^mirrorlist/#mirrorlist/' \
     -e 's/^#baseurl/baseurl/' \
     -e 's/mirror\\.centos\\.org/vault.centos.org/' \
   ```



-- 
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