diff options
Diffstat (limited to '13.0/apache')
-rw-r--r-- | 13.0/apache/Dockerfile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/13.0/apache/Dockerfile b/13.0/apache/Dockerfile index 8e904c57..fedc3765 100644 --- a/13.0/apache/Dockerfile +++ b/13.0/apache/Dockerfile @@ -1,5 +1,5 @@ # DO NOT EDIT: created by update.sh from Dockerfile-debian.template -FROM php:7.1-apache +FROM php:7.1-apache-stretch # entrypoint.sh and cron.sh dependencies RUN set -ex; \ @@ -30,7 +30,7 @@ RUN set -ex; \ libldap2-dev \ libmcrypt-dev \ libmemcached-dev \ - libpng12-dev \ + libpng-dev \ libpq-dev \ libxml2-dev \ ; \ @@ -105,6 +105,13 @@ RUN a2enmod rewrite remoteip ;\ ENV NEXTCLOUD_VERSION 13.0.2 RUN set -ex; \ + fetchDeps=" \ + gnupg \ + dirmngr \ + "; \ + apt-get update; \ + apt-get install -y --no-install-recommends $fetchDeps; \ + \ curl -fsSL -o nextcloud.tar.bz2 \ "https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2"; \ curl -fsSL -o nextcloud.tar.bz2.asc \ @@ -119,7 +126,10 @@ RUN set -ex; \ rm -rf /usr/src/nextcloud/updater; \ mkdir -p /usr/src/nextcloud/data; \ mkdir -p /usr/src/nextcloud/custom_apps; \ - chmod +x /usr/src/nextcloud/occ + chmod +x /usr/src/nextcloud/occ; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \ + rm -rf /var/lib/apt/lists/* COPY *.sh / COPY config/* /usr/src/nextcloud/config/ |