From 69cfe1c78661d043a791d288986949d95c1c14f4 Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Fri, 3 Jun 2016 21:11:08 +0200 Subject: [PATCH] owncloud: use --recv-keys as owncloud.asc gives 404 --- owncloud/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/owncloud/Dockerfile b/owncloud/Dockerfile index 929829e..2cc2ab8 100644 --- a/owncloud/Dockerfile +++ b/owncloud/Dockerfile @@ -51,13 +51,12 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap && wget -q https://download.owncloud.org/community/${OWNCLOUD_TARBALL} \ && wget -q https://download.owncloud.org/community/${OWNCLOUD_TARBALL}.sha256 \ && wget -q https://download.owncloud.org/community/${OWNCLOUD_TARBALL}.asc \ - && wget -q https://owncloud.org/owncloud.asc \ && wget -q https://pecl.php.net/get/apcu-${APCU_VERSION}.tgz \ && wget -q https://pecl.php.net/get/apcu_bc-${APCUBC_VERSION}.tgz \ && echo "Verifying both integrity and authenticity of ${OWNCLOUD_TARBALL}..." \ && CHECKSUM_STATE=$(echo -n $(sha256sum -c ${OWNCLOUD_TARBALL}.sha256) | tail -c 2) \ && if [ "${CHECKSUM_STATE}" != "OK" ]; then echo "Warning! Checksum does not match!" && exit 1; fi \ - && gpg --import owncloud.asc \ + && gpg --recv-keys F6978A26 \ && FINGERPRINT="$(LANG=C gpg --verify ${OWNCLOUD_TARBALL}.asc ${OWNCLOUD_TARBALL} 2>&1 \ | sed -n "s#Primary key fingerprint: \(.*\)#\1#p")" \ && if [ -z "${FINGERPRINT}" ]; then echo "Warning! Invalid GPG signature!" && exit 1; fi \