[ 
https://issues.apache.org/jira/browse/HADOOP-19222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17864835#comment-17864835
 ] 

ASF GitHub Bot commented on HADOOP-19222:
-----------------------------------------

slfan1989 commented on code in PR #6932:
URL: https://github.com/apache/hadoop/pull/6932#discussion_r1673157505


##########
dev-support/docker/Dockerfile_centos_7:
##########
@@ -38,8 +45,13 @@ RUN yum update -y \
     && yum groupinstall -y "Development Tools" \
     && yum install -y \
         centos-release-scl \
-        python3 \
-    && yum install -y $(pkg-resolver/resolve.py centos:7)
+        python3
+
+# Apply the script again because centos-release-scl creates new YUM repo files
+RUN pkg-resolver/set-vault-as-baseurl-centos.sh centos:7
+
+# hadolint ignore=DL3008,SC2046

Review Comment:
   I readed our previous Dockerfiles and found that DL3008 and SC2046 were not 
ignored. Why we should ignore these two rules here?





> Switch yum repo baseurl due to CentOS 7 sunset
> ----------------------------------------------
>
>                 Key: HADOOP-19222
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19222
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Cheng Pan
>            Priority: Major
>              Labels: pull-request-available
>
> Similar to HADOOP-18151 (which handled sunset for CentOS 8), CentOS 7 reached 
> EOL on July 1, 2024



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to