|
|
|
|
@ -21,6 +21,7 @@ RUN set -ex; \
|
|
|
|
|
# see https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html
|
|
|
|
|
ENV PHP_MEMORY_LIMIT 512M
|
|
|
|
|
ENV PHP_UPLOAD_LIMIT 512M
|
|
|
|
|
ENV PHP_OPCACHE_MEMORY_CONSUMPTION 128
|
|
|
|
|
RUN set -ex; \
|
|
|
|
|
\
|
|
|
|
|
savedAptMark="$(apt-mark showmanual)"; \
|
|
|
|
|
@ -98,7 +99,7 @@ RUN { \
|
|
|
|
|
echo 'opcache.enable=1'; \
|
|
|
|
|
echo 'opcache.interned_strings_buffer=32'; \
|
|
|
|
|
echo 'opcache.max_accelerated_files=10000'; \
|
|
|
|
|
echo 'opcache.memory_consumption=128'; \
|
|
|
|
|
echo 'opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}'; \
|
|
|
|
|
echo 'opcache.save_comments=1'; \
|
|
|
|
|
echo 'opcache.revalidate_freq=60'; \
|
|
|
|
|
echo 'opcache.jit=1255'; \
|
|
|
|
|
@ -140,7 +141,7 @@ RUN { \
|
|
|
|
|
} > /etc/apache2/conf-available/apache-limits.conf; \
|
|
|
|
|
a2enconf apache-limits
|
|
|
|
|
|
|
|
|
|
ENV NEXTCLOUD_VERSION 29.0.10
|
|
|
|
|
ENV NEXTCLOUD_VERSION 29.0.11
|
|
|
|
|
|
|
|
|
|
RUN set -ex; \
|
|
|
|
|
fetchDeps=" \
|
|
|
|
|
@ -150,8 +151,8 @@ RUN set -ex; \
|
|
|
|
|
apt-get update; \
|
|
|
|
|
apt-get install -y --no-install-recommends $fetchDeps; \
|
|
|
|
|
\
|
|
|
|
|
curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-29.0.10.tar.bz2"; \
|
|
|
|
|
curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-29.0.10.tar.bz2.asc"; \
|
|
|
|
|
curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-29.0.11.tar.bz2"; \
|
|
|
|
|
curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-29.0.11.tar.bz2.asc"; \
|
|
|
|
|
export GNUPGHOME="$(mktemp -d)"; \
|
|
|
|
|
# gpg key from https://nextcloud.com/nextcloud.asc
|
|
|
|
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
|
|
|
|
|