diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 74841d8..5ece591 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -43,6 +43,9 @@ RUN mkdir -p \ /var/log/supervisord \ /var/run/supervisord \ ; +# we want to remove the php notice in error reporting in log, sed is doing weird things +RUN sed -i 's/error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT/#error_reporting_added_at_the_end_of_file/' /usr/local/etc/php/php.ini-production && \ + echo 'error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE' >> /usr/local/etc/php/php.ini-production COPY supervisord.conf / COPY ns.config.php /usr/src/nextcloud/config/