In the docker build image, skip GPG verification when downloading Yetus tarball via yetus-wrapper. (cherry picked from commit 9c290c08db4361de29f392b0569312c2623b8321)
@@ -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"
@@ -209,6 +209,9 @@ 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.
# So tell Yetus not to read the rest of the file:
@@ -218,6 +218,9 @@ RUN mkdir -p /opt/phantomjs \