From fb2c648f77e8252dbc9441409dec451774893111 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sat, 4 Feb 2017 15:11:09 +0000 Subject: [PATCH] Move key to a variable --- small/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/small/Dockerfile b/small/Dockerfile index 0eef6ca..d529e34 100644 --- a/small/Dockerfile +++ b/small/Dockerfile @@ -1,6 +1,7 @@ FROM alpine:3.5 ENV ZNC_VERSION 1.6.4 +ENV GPG_KEY D5823CACB477191CAC0075555AE420CC0209989E # modperl and modpython are built, but won't be loadable. # :extmodules image installs perl and python3 again, making these modules loadable. @@ -31,7 +32,7 @@ RUN set -x \ && wget "http://znc.in/releases/archive/znc-${ZNC_VERSION}.tar.gz" \ && wget "http://znc.in/releases/archive/znc-${ZNC_VERSION}.tar.gz.sig" \ && export GNUPGHOME="$(mktemp -d)" \ - && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys D5823CACB477191CAC0075555AE420CC0209989E \ + && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "${GPG_KEY}" \ && gpg --batch --verify znc-"${ZNC_VERSION}.tar.gz.sig" znc-"${ZNC_VERSION}.tar.gz" \ && rm -R "$GNUPGHOME" \ && tar -zxf znc-"${ZNC_VERSION}.tar.gz" \