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:
parent
040af10182
commit
f69bcf3d1c
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
|
||||
FROM php:7.4-apache-buster
|
||||
|
||||
ENV NEXTCLOUD_VERSION 21.0.3
|
||||
ENV PHP_MEMORY_LIMIT 512M
|
||||
ENV PHP_UPLOAD_LIMIT 512M
|
||||
|
||||
|
@ -123,7 +122,8 @@ RUN a2enmod headers rewrite remoteip ;\
|
|||
} > /etc/apache2/conf-available/remoteip.conf;\
|
||||
a2enconf remoteip
|
||||
|
||||
|
||||
ARG NEXTCLOUD_VERSION=21.0.3
|
||||
ENV NEXTCLOUD_VERSION=${NEXTCLOUD_VERSION}
|
||||
RUN set -ex; \
|
||||
fetchDeps=" \
|
||||
gnupg \
|
||||
|
|
Loading…
Add table
Reference in a new issue