From f69bcf3d1cd667836e250f19efabaed08d92170b Mon Sep 17 00:00:00 2001 From: Christian Kniep Date: Thu, 22 Jul 2021 15:23:03 +0200 Subject: [PATCH] move ARG/ENV down to allow caching --- 21.0/apache/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/21.0/apache/Dockerfile b/21.0/apache/Dockerfile index e90e30b6..ac3682de 100644 --- a/21.0/apache/Dockerfile +++ b/21.0/apache/Dockerfile @@ -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 \