From 33e6f722b6dee26a0e66dcc979e05729f1927b79 Mon Sep 17 00:00:00 2001 From: Aleksandr Kitov Date: Mon, 21 Sep 2020 17:59:13 +0300 Subject: [PATCH] fix(alpine-node-nginx): fix gpg errors --- packages/alpine-node-nginx/Dockerfile | 6 +++--- packages/alpine-node-nginx/nginx.pub | 29 +++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 packages/alpine-node-nginx/nginx.pub diff --git a/packages/alpine-node-nginx/Dockerfile b/packages/alpine-node-nginx/Dockerfile index 35ae6cf..08cb521 100644 --- a/packages/alpine-node-nginx/Dockerfile +++ b/packages/alpine-node-nginx/Dockerfile @@ -6,8 +6,8 @@ FROM mhart/alpine-node:${NODE_VERSION} ENV NGINX_VERSION 1.18.0 ENV NGX_BROTLI_COMMIT 25f86f0bac1101b6512135eac5f93c49c63609e3 -RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \ - && CONFIG="\ +COPY nginx.pub /tmp/nginx.pub +RUN CONFIG="\ --prefix=/etc/nginx \ --sbin-path=/usr/sbin/nginx \ --modules-path=/usr/lib/nginx/modules \ @@ -87,7 +87,7 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \ && curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \ && sha512sum nginx.tar.gz nginx.tar.gz.asc \ && export GNUPGHOME="$(mktemp -d)" \ - && gpg --keyserver ipv4.pool.sks-keyservers.net --recv-keys "$GPG_KEYS" \ + && gpg --import /tmp/nginx.pub \ && gpg --batch --verify nginx.tar.gz.asc nginx.tar.gz \ && rm -rf "$GNUPGHOME" nginx.tar.gz.asc \ && mkdir -p /usr/src \ diff --git a/packages/alpine-node-nginx/nginx.pub b/packages/alpine-node-nginx/nginx.pub new file mode 100644 index 0000000..01a2a5f --- /dev/null +++ b/packages/alpine-node-nginx/nginx.pub @@ -0,0 +1,29 @@ +-----BEGIN PGP PUBLIC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