From c0098e7c4bc4b5e51c26cd3c372bb2e2aa3df127 Mon Sep 17 00:00:00 2001 From: Patrick Delcroix Date: Mon, 7 Oct 2019 11:57:31 +0200 Subject: [PATCH] Support event capture metadata query https://community.dhis2.org/t/failed-to-load-metadata-error/35916 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 93f1f32..84b2fcf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,5 +6,5 @@ COPY conf/dhis.conf /opt/dhis2/config/dhis.conf COPY releases/dhis2.war /usr/local/tomcat/webapps/ROOT.war COPY wait-for-it.sh wait-for-it.sh - -RUN echo "export JAVA_OPTS=$JAVA_OPTS\nexport DHIS2_HOME='/opt/dhis2/config'" >> /usr/local/tomcat/bin/setenv.sh \ No newline at end of file +RUN sed -e -i "s/port=\"8080\" protocol=\"HTTP\/1.1\"/port=\"8080\" protocol=\"HTTP\/1.1\"\\n relaxedQueryChars=\"\[,\]\"/" //usr/local/tomcat/conf/server.xml +RUN echo "export JAVA_OPTS=$JAVA_OPTS\nexport DHIS2_HOME='/opt/dhis2/config'" >> /usr/local/tomcat/bin/setenv.sh