0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-21 11:06:09 +02:00

move ARG/ENV down to allow caching

This commit is contained in:
Christian Kniep 2021-07-22 15:23:03 +02:00
parent 040af10182
commit f69bcf3d1c

View file

@ -1,7 +1,6 @@
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template # DO NOT EDIT: created by update.sh from Dockerfile-debian.template
FROM php:7.4-apache-buster FROM php:7.4-apache-buster
ENV NEXTCLOUD_VERSION 21.0.3
ENV PHP_MEMORY_LIMIT 512M ENV PHP_MEMORY_LIMIT 512M
ENV PHP_UPLOAD_LIMIT 512M ENV PHP_UPLOAD_LIMIT 512M
@ -123,7 +122,8 @@ RUN a2enmod headers rewrite remoteip ;\
} > /etc/apache2/conf-available/remoteip.conf;\ } > /etc/apache2/conf-available/remoteip.conf;\
a2enconf remoteip a2enconf remoteip
ARG NEXTCLOUD_VERSION=21.0.3
ENV NEXTCLOUD_VERSION=${NEXTCLOUD_VERSION}
RUN set -ex; \ RUN set -ex; \
fetchDeps=" \ fetchDeps=" \
gnupg \ gnupg \