Mercurial > dive4elements > river
comparison docker/Dockerfile.gwt-client @ 9797:74bbf3c5d1ec 3.2.x
Fixup rev. cd07130ded8d
... which missed to set the URIEncoding for the AJP connector.
This led to encoding errors in map printing if URL parameters
contained non-ASCII characters.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 02 Nov 2023 17:59:28 +0100 |
parents | 13351afee667 |
children | e21697ba97f8 |
comparison
equal
deleted
inserted
replaced
9796:13351afee667 | 9797:74bbf3c5d1ec |
---|---|
55 # (JRE default is logging to System.err) | 55 # (JRE default is logging to System.err) |
56 RUN rm /etc/tomcat/logging.properties | 56 RUN rm /etc/tomcat/logging.properties |
57 | 57 |
58 # Configure tomcat | 58 # Configure tomcat |
59 RUN sed -i '/Connector port="8080"/a \URIEncoding="UTF-8"' /etc/tomcat/server.xml | 59 RUN sed -i '/Connector port="8080"/a \URIEncoding="UTF-8"' /etc/tomcat/server.xml |
60 RUN sed -i 's/\(Connector port="8009"\)/\1 URIEncoding="UTF-8"/' \ | |
61 /etc/tomcat/server.xml | |
60 RUN ln -sf /opt/d4e/river/gwt-client/config/context.xml /etc/tomcat | 62 RUN ln -sf /opt/d4e/river/gwt-client/config/context.xml /etc/tomcat |
61 VOLUME /opt/d4e/river/gwt-client/config | 63 VOLUME /opt/d4e/river/gwt-client/config |
62 | 64 |
63 # Deploy | 65 # Deploy |
64 COPY --from=build /opt/d4e/river/gwt-client/target/gwt-client-*.war \ | 66 COPY --from=build /opt/d4e/river/gwt-client/target/gwt-client-*.war \ |