0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-14 02:25:08 +01:00

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 <mickael.monsieur@gmail.com>
This commit is contained in:
Mickael 2024-05-24 15:49:35 +02:00 committed by GitHub
parent 3b13c02caa
commit d27a1bf7f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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; \