Don't remove gnupg from alpine image
authorPablo Zmdl <redacted>
Fri, 8 Nov 2024 09:02:59 +0000 (10:02 +0100)
committerPablo Zmdl <redacted>
Fri, 8 Nov 2024 09:24:56 +0000 (10:24 +0100)
It's required to run enigma and doesn't hurt in general.

templates/Dockerfile-alpine.templ

index bb207d111d16a56b566c1b507841c0eed7f1a1a2..751b6e5156c55ccb932171f50ff188b3cccc7c86 100644 (file)
@@ -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
 
git clone https://git.99rst.org/PROJECT