diff --git a/12.0/apache/Dockerfile b/12.0/apache/Dockerfile index f1aae06..e9e059d 100644 --- a/12.0/apache/Dockerfile +++ b/12.0/apache/Dockerfile @@ -120,9 +120,8 @@ RUN set -ex; \ # gpg key from https://nextcloud.com/nextcloud.asc gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ - rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc; \ tar -xjf nextcloud.tar.bz2 -C /usr/src/; \ - rm nextcloud.tar.bz2; \ + rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ rm -rf /usr/src/nextcloud/updater; \ mkdir -p /usr/src/nextcloud/data; \ mkdir -p /usr/src/nextcloud/custom_apps; \ diff --git a/12.0/fpm-alpine/Dockerfile b/12.0/fpm-alpine/Dockerfile index 6040e83..c75b336 100644 --- a/12.0/fpm-alpine/Dockerfile +++ b/12.0/fpm-alpine/Dockerfile @@ -99,9 +99,8 @@ RUN set -ex; \ # gpg key from https://nextcloud.com/nextcloud.asc gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ - rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc; \ tar -xjf nextcloud.tar.bz2 -C /usr/src/; \ - rm nextcloud.tar.bz2; \ + rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ rm -rf /usr/src/nextcloud/updater; \ mkdir -p /usr/src/nextcloud/data; \ mkdir -p /usr/src/nextcloud/custom_apps; \ diff --git a/12.0/fpm/Dockerfile b/12.0/fpm/Dockerfile index 3b1dafb..019b664 100644 --- a/12.0/fpm/Dockerfile +++ b/12.0/fpm/Dockerfile @@ -112,9 +112,8 @@ RUN set -ex; \ # gpg key from https://nextcloud.com/nextcloud.asc gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ - rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc; \ tar -xjf nextcloud.tar.bz2 -C /usr/src/; \ - rm nextcloud.tar.bz2; \ + rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ rm -rf /usr/src/nextcloud/updater; \ mkdir -p /usr/src/nextcloud/data; \ mkdir -p /usr/src/nextcloud/custom_apps; \ diff --git a/13.0/apache/Dockerfile b/13.0/apache/Dockerfile index fedc376..8f17353 100644 --- a/13.0/apache/Dockerfile +++ b/13.0/apache/Dockerfile @@ -120,9 +120,8 @@ RUN set -ex; \ # gpg key from https://nextcloud.com/nextcloud.asc gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ - rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc; \ tar -xjf nextcloud.tar.bz2 -C /usr/src/; \ - rm nextcloud.tar.bz2; \ + rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ rm -rf /usr/src/nextcloud/updater; \ mkdir -p /usr/src/nextcloud/data; \ mkdir -p /usr/src/nextcloud/custom_apps; \ diff --git a/13.0/fpm-alpine/Dockerfile b/13.0/fpm-alpine/Dockerfile index 47a6784..2b75327 100644 --- a/13.0/fpm-alpine/Dockerfile +++ b/13.0/fpm-alpine/Dockerfile @@ -99,9 +99,8 @@ RUN set -ex; \ # gpg key from https://nextcloud.com/nextcloud.asc gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ - rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc; \ tar -xjf nextcloud.tar.bz2 -C /usr/src/; \ - rm nextcloud.tar.bz2; \ + rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ rm -rf /usr/src/nextcloud/updater; \ mkdir -p /usr/src/nextcloud/data; \ mkdir -p /usr/src/nextcloud/custom_apps; \ diff --git a/13.0/fpm/Dockerfile b/13.0/fpm/Dockerfile index 1921c63..26a6782 100644 --- a/13.0/fpm/Dockerfile +++ b/13.0/fpm/Dockerfile @@ -112,9 +112,8 @@ RUN set -ex; \ # gpg key from https://nextcloud.com/nextcloud.asc gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ - rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc; \ tar -xjf nextcloud.tar.bz2 -C /usr/src/; \ - rm nextcloud.tar.bz2; \ + rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ rm -rf /usr/src/nextcloud/updater; \ mkdir -p /usr/src/nextcloud/data; \ mkdir -p /usr/src/nextcloud/custom_apps; \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index c5ddca5..05cfc01 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -98,9 +98,8 @@ RUN set -ex; \ # gpg key from https://nextcloud.com/nextcloud.asc gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ - rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc; \ tar -xjf nextcloud.tar.bz2 -C /usr/src/; \ - rm nextcloud.tar.bz2; \ + rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ rm -rf /usr/src/nextcloud/updater; \ mkdir -p /usr/src/nextcloud/data; \ mkdir -p /usr/src/nextcloud/custom_apps; \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 7a045f5..b2e2c7c 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -111,9 +111,8 @@ RUN set -ex; \ # gpg key from https://nextcloud.com/nextcloud.asc gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ - rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc; \ tar -xjf nextcloud.tar.bz2 -C /usr/src/; \ - rm nextcloud.tar.bz2; \ + rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \ rm -rf /usr/src/nextcloud/updater; \ mkdir -p /usr/src/nextcloud/data; \ mkdir -p /usr/src/nextcloud/custom_apps; \