comparison docker/Dockerfile.gwt-client @ 9685:2dad42df79a8 3.2.x

Add OpenLayers in Docker setup
author Tom Gottfried <tom@intevation.de>
date Fri, 31 Jul 2020 13:02:42 +0200
parents 537fe44f2792
children 33303817ed37
comparison
equal deleted inserted replaced
9684:537fe44f2792 9685:2dad42df79a8
13 RUN hg clone -b $BRANCH $REPO_URL/http-client 13 RUN hg clone -b $BRANCH $REPO_URL/http-client
14 14
15 RUN mvn -q -f framework/pom.xml install 15 RUN mvn -q -f framework/pom.xml install
16 RUN mvn -q -f http-client/pom.xml install 16 RUN mvn -q -f http-client/pom.xml install
17 17
18 RUN curl -LO "https://github.com/openlayers/ol2/releases/download/release-2.11/OpenLayers-2.11.tar.gz"
19
18 # Use latest patch release and fake version=4.1-p20141119 to work around 20 # Use latest patch release and fake version=4.1-p20141119 to work around
19 # the actual version (which is known to work properly) 21 # the actual version (which is known to work properly)
20 # is not publicly available 22 # is not publicly available
21 RUN curl -O https://www.smartclient.com/builds/SmartGWT/4.1p/LGPL/latest/smartgwt.jar 23 RUN curl -O https://www.smartclient.com/builds/SmartGWT/4.1p/LGPL/latest/smartgwt.jar
22 24
23 ADD . river 25 ADD . river
24 26
25 RUN mvn -q install:install-file -Dfile=smartgwt.jar -Dversion=4.1-p20141119 \ 27 RUN mvn -q install:install-file -Dfile=smartgwt.jar -Dversion=4.1-p20141119 \
26 -DartifactId=smartgwt-lgpl -DgroupId=com.isomorphic.smartgwt.lgpl \ 28 -DartifactId=smartgwt-lgpl -DgroupId=com.isomorphic.smartgwt.lgpl \
27 -Dpackaging=jar 29 -Dpackaging=jar
30 RUN tar -C river/gwt-client/src/main/webapp \
31 --exclude=OpenLayers-2.11/doc --exclude=OpenLayers-2.11/tests \
32 --exclude=OpenLayers-2.11/examples -xf OpenLayers-2.11.tar.gz
33 RUN rm OpenLayers-2.11.tar.gz
28 RUN mvn -q -f river/gwt-client/pom.xml package && \ 34 RUN mvn -q -f river/gwt-client/pom.xml package && \
29 mv river/gwt-client/target/gwt-client-*.war /usr/share/tomcat/webapps 35 mv river/gwt-client/target/gwt-client-*.war /usr/share/tomcat/webapps
30 36
31 ADD docker/flys_user_file /root/ 37 ADD docker/flys_user_file /root/
32 38

http://dive4elements.wald.intevation.org