Skip to content

Commit

Permalink
Merge pull request #137 from praekeltfoundation/fix_nginx_gpg
Browse files Browse the repository at this point in the history
Check for a single fingerprint.
  • Loading branch information
Buhle79 authored Jul 31, 2024
2 parents d298c3e + 9d6958a commit 06456e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.no-wheelhouse
Original file line number Diff line number Diff line change
Expand Up @@ -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]+)"; \
Expand Down

0 comments on commit 06456e1

Please sign in to comment.