HADOOP-17056. shelldoc fails in hadoop-common. (#2045)

In the docker build image, skip GPG verification when downloading
Yetus tarball via yetus-wrapper.

(cherry picked from commit 9c290c08db)

 Conflicts:
	dev-support/docker/Dockerfile
	dev-support/docker/Dockerfile_aarch64
This commit is contained in:
Akira Ajisaka 2020-06-03 18:01:37 +09:00
parent d9529596f4
commit aa19a2af17
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
2 changed files with 3 additions and 1 deletions

View File

@ -144,7 +144,7 @@ else
exit 1
fi
if [[ -n "${GPGBIN}" ]]; then
if [[ -n "${GPGBIN}" && ! "${HADOOP_SKIP_YETUS_VERIFICATION}" = true ]]; then
if ! mkdir -p .gpg; then
yetus_error "ERROR: yetus-dl: Unable to create ${HADOOP_PATCHPROCESS}/.gpg"
exit 1

View File

@ -202,6 +202,8 @@ RUN curl -L -s -S \
###
ENV MAVEN_OPTS -Xms256m -Xmx1536m
# Skip gpg verification when downlonading Yetus via yetus-wrapper
ENV HADOOP_SKIP_YETUS_VERIFICATION true
###
# Everything past this point is either not needed for testing or breaks Yetus.