diff --git a/Dockerfile.no-wheelhouse b/Dockerfile.no-wheelhouse index d865d58..6e8d2c5 100644 --- a/Dockerfile.no-wheelhouse +++ b/Dockerfile.no-wheelhouse @@ -21,7 +21,7 @@ RUN set -ex; \ "; \ apt-get-install.sh $fetchDeps; \ wget https://nginx.org/keys/nginx_signing.key; \ - [ "$(gpg --batch -q --with-fingerprint --with-colons nginx_signing.key | awk -F: '/^fpr:/ { print $10 }')" \ + [ "$(gpg --batch -q --with-fingerprint --with-colons nginx_signing.key | awk -F: '/^fpr:/ { print $10 }'|grep $NGINX_GPG_KEY)" \ = $NGINX_GPG_KEY ]; \ apt-key add nginx_signing.key; \ codename="$(. /etc/os-release; echo $VERSION | grep -oE [a-z]+)"; \