From fa351cec0202fabc7092a6f4971b0dfde6cbdb6c Mon Sep 17 00:00:00 2001 From: Stian Soiland-Reyes Date: Thu, 23 Jul 2015 21:23:43 +0100 Subject: [PATCH] Disable warnings (This works around #13) --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6cc151e..4fe5368 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,11 @@ RUN sed -i "s|'IMS_MAP_ENDPOINT'.*|'IMS_MAP_ENDPOINT', 'http://ims:8080/QueryExp RUN sed -i "s|'IMS_EXPAND_ENDPOINT'.*|'IMS_EXPAND_ENDPOINT', 'http://ims:8080/QueryExpander/expandXML?query=');|" deployment.settings.php RUN sed -i "s|'PUELIA_MEMCACHE_HOST'.*|'PUELIA_MEMCACHE_HOST', 'memcached');|" deployment.settings.php +# Silence warnings (Issue #13) +RUN echo "display_errors=0" > /usr/local/etc/php/conf.d/ops-warnings.ini +RUN echo "log_errors=1" >> /usr/local/etc/php/conf.d/ops-warnings.ini +RUN echo "html_errors=0" >> /usr/local/etc/php/conf.d/ops-warnings.ini + #RUN sed -i '/<\/VirtualHost/ i\ \n AllowOverride All\n ' /etc/apache2/sites-available/000-default.conf