From: Pablo Zmdl Date: Fri, 8 Nov 2024 09:02:59 +0000 (+0100) Subject: Don't remove gnupg from alpine image X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=70342df9546e5650367ea2ec528a5d47984727ad;p=roundcube-roundcubemail-docker.git Don't remove gnupg from alpine image It's required to run enigma and doesn't hurt in general. --- diff --git a/templates/Dockerfile-alpine.templ b/templates/Dockerfile-alpine.templ index bb207d1..751b6e5 100644 --- a/templates/Dockerfile-alpine.templ +++ b/templates/Dockerfile-alpine.templ @@ -87,10 +87,7 @@ ENV ROUNDCUBEMAIL_KEYID "F3E4 C04B B3DB 5D42 15C4 5F7F 5AB2 BAA1 41C4 F7D5" # Download package and extract to web volume RUN set -ex; \ - apk add --no-cache --virtual .fetch-deps \ - gnupg \ - ; \ - \ + apk add --no-cache gnupg; curl -o roundcubemail.tar.gz -fSL https://github.com/roundcube/roundcubemail/releases/download/${ROUNDCUBEMAIL_VERSION}/roundcubemail-${ROUNDCUBEMAIL_VERSION}-complete.tar.gz; \ curl -o roundcubemail.tar.gz.asc -fSL https://github.com/roundcube/roundcubemail/releases/download/${ROUNDCUBEMAIL_VERSION}/roundcubemail-${ROUNDCUBEMAIL_VERSION}-complete.tar.gz.asc; \ export GNUPGHOME="$(mktemp -d)"; \ @@ -106,7 +103,6 @@ RUN set -ex; \ rm -r "$GNUPGHOME" roundcubemail.tar.gz.asc roundcubemail.tar.gz; \ rm -rf /usr/src/roundcubemail/installer; \ chown -R www-data:www-data /usr/src/roundcubemail/logs; \ - apk del .fetch-deps; \ # Create the config dir mkdir -p /var/roundcube/config