diff --git a/dev-support/bin/yetus-wrapper b/dev-support/bin/yetus-wrapper index b0f71f105d..bca2316ae6 100755 --- a/dev-support/bin/yetus-wrapper +++ b/dev-support/bin/yetus-wrapper @@ -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 diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 1fcb646bb5..b1a0982a76 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -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: diff --git a/dev-support/docker/Dockerfile_aarch64 b/dev-support/docker/Dockerfile_aarch64 index 8f5ebf0ac1..00f53ae506 100644 --- a/dev-support/docker/Dockerfile_aarch64 +++ b/dev-support/docker/Dockerfile_aarch64 @@ -218,6 +218,9 @@ RUN mkdir -p /opt/phantomjs \ ### 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: