From d27a1bf7f1ff19bca8679e0a536d1160ad4e21db Mon Sep 17 00:00:00 2001 From: Mickael Date: Fri, 24 May 2024 15:49:35 +0200 Subject: [PATCH] Update Dockerfile-debian.template Fix Dockerfile template to properly evaluate environment variables in nextcloud.ini The previous version of the Dockerfile used single quotes around the echo commands, preventing the proper evaluation of environment variables. This commit fixes the issue by replacing the single quotes with double quotes, allowing for the interpolation of environment variables. Now, the nextcloud.ini file correctly reflects the values of the PHP_MEMORY_LIMIT and PHP_UPLOAD_LIMIT environment variables. Signed-off-by: Mickael --- Dockerfile-debian.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 8b66dd34..4be1f62b 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -107,9 +107,9 @@ RUN { \ echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini"; \ \ { \ - echo 'memory_limit=${PHP_MEMORY_LIMIT}'; \ - echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \ - echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \ + echo "memory_limit=${PHP_MEMORY_LIMIT}"; \ + echo "upload_max_filesize=${PHP_UPLOAD_LIMIT}"; \ + echo "post_max_size=${PHP_UPLOAD_LIMIT}"; \ } > "${PHP_INI_DIR}/conf.d/nextcloud.ini"; \ \ mkdir /var/www/data; \