changeset 9687:25532d3c0af2 3.2.x

Avoid NPE when trying to print map to PDF
author Tom Gottfried <tom@intevation.de>
date Mon, 03 Aug 2020 16:05:07 +0200
parents 33303817ed37
children
files docker/Dockerfile.gwt-client docker/README
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/docker/Dockerfile.gwt-client	Mon Aug 03 12:17:24 2020 +0200
+++ b/docker/Dockerfile.gwt-client	Mon Aug 03 16:05:07 2020 +0200
@@ -4,7 +4,7 @@
 MAINTAINER tom@intevation.de
 
 # Install prerequisites
-RUN yum -y install maven mercurial tomcat
+RUN yum -y install maven mercurial tomcat gnu-free-sans-fonts
 
 WORKDIR /opt/d4e
 ENV REPO_URL https://scm.wald.intevation.org/hg/dive4elements/
--- a/docker/README	Mon Aug 03 12:17:24 2020 +0200
+++ b/docker/README	Mon Aug 03 16:05:07 2020 +0200
@@ -4,6 +4,8 @@
 _ Change 'localhost' to '0.0.0.0' in artifacts/doc/conf/rest-server.xml
 _ Change 'localhost' to 'd4eriver-artifacts' in the server-url parameter in
   gwt-client/src/main/webapp/WEB-INF/web.xml
+_ Set font path to /usr/share/fonts/gnu-free/FreeSans.ttf in
+  gwt-client/src/main/webapp/WEB-INF/config.yaml
 
 
 Build:

http://dive4elements.wald.intevation.org