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:
parent
3b13c02caa
commit
d27a1bf7f1
1 changed files with 3 additions and 3 deletions
|
@ -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; \
|
||||
|
|
Loading…
Add table
Reference in a new issue