pan3793 commented on code in PR #6932:
URL: https://github.com/apache/hadoop/pull/6932#discussion_r1673293834
##########
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:
the hadolint rule codes can be found at
https://github.com/hadolint/hadolint?tab=readme-ov-file#rules
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]