# HG changeset patch # User Tom Gottfried # Date 1596193362 -7200 # Node ID 2dad42df79a8e3c25a5e551b5d2bdfb191ce800d # Parent 537fe44f2792b487b23b88dc42d09121222d48ee Add OpenLayers in Docker setup diff -r 537fe44f2792 -r 2dad42df79a8 docker/Dockerfile.gwt-client --- a/docker/Dockerfile.gwt-client Thu Jul 30 19:00:44 2020 +0200 +++ b/docker/Dockerfile.gwt-client Fri Jul 31 13:02:42 2020 +0200 @@ -15,6 +15,8 @@ RUN mvn -q -f framework/pom.xml install RUN mvn -q -f http-client/pom.xml install +RUN curl -LO "https://github.com/openlayers/ol2/releases/download/release-2.11/OpenLayers-2.11.tar.gz" + # Use latest patch release and fake version=4.1-p20141119 to work around # the actual version (which is known to work properly) # is not publicly available @@ -25,6 +27,10 @@ RUN mvn -q install:install-file -Dfile=smartgwt.jar -Dversion=4.1-p20141119 \ -DartifactId=smartgwt-lgpl -DgroupId=com.isomorphic.smartgwt.lgpl \ -Dpackaging=jar +RUN tar -C river/gwt-client/src/main/webapp \ + --exclude=OpenLayers-2.11/doc --exclude=OpenLayers-2.11/tests \ + --exclude=OpenLayers-2.11/examples -xf OpenLayers-2.11.tar.gz +RUN rm OpenLayers-2.11.tar.gz RUN mvn -q -f river/gwt-client/pom.xml package && \ mv river/gwt-client/target/gwt-client-*.war /usr/share/tomcat/webapps