File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,15 +84,15 @@ RUN { \
8484 echo 'opcache.memory_consumption=128'; \
8585 echo 'opcache.save_comments=1'; \
8686 echo 'opcache.revalidate_freq=60'; \
87- } > /usr/local/etc/php/ conf.d/opcache-recommended.ini; \
87+ } > "${PHP_INI_DIR}/ conf.d/opcache-recommended.ini" ; \
8888 \
89- echo 'apc.enable_cli=1' >> /usr/local/etc/php/ conf.d/docker-php-ext-apcu.ini; \
89+ echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/ conf.d/docker-php-ext-apcu.ini" ; \
9090 \
9191 { \
9292 echo 'memory_limit=${PHP_MEMORY_LIMIT}'; \
9393 echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
9494 echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
95- } > /usr/local/etc/php/ conf.d/nextcloud.ini; \
95+ } > "${PHP_INI_DIR}/ conf.d/nextcloud.ini" ; \
9696 \
9797 mkdir /var/www/data; \
9898 chown -R www-data:root /var/www; \
Original file line number Diff line number Diff line change @@ -98,15 +98,15 @@ RUN { \
9898 echo 'opcache.memory_consumption=128'; \
9999 echo 'opcache.save_comments=1'; \
100100 echo 'opcache.revalidate_freq=60'; \
101- } > /usr/local/etc/php/ conf.d/opcache-recommended.ini; \
101+ } > "${PHP_INI_DIR}/ conf.d/opcache-recommended.ini" ; \
102102 \
103- echo 'apc.enable_cli=1' >> /usr/local/etc/php/ conf.d/docker-php-ext-apcu.ini; \
103+ echo 'apc.enable_cli=1' >> "${PHP_INI_DIR}/ conf.d/docker-php-ext-apcu.ini" ; \
104104 \
105105 { \
106106 echo 'memory_limit=${PHP_MEMORY_LIMIT}'; \
107107 echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
108108 echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
109- } > /usr/local/etc/php/ conf.d/nextcloud.ini; \
109+ } > "${PHP_INI_DIR}/ conf.d/nextcloud.ini" ; \
110110 \
111111 mkdir /var/www/data; \
112112 chown -R www-data:root /var/www; \
You can’t perform that action at this time.
0 commit comments