Mercurial > dive4elements > river
comparison docker/Dockerfile.gwt-client @ 9741:4fabdc8ed97b 3.2.x
Fix installing SmartGWT
The download path has moved. While at it, silence curl downloads and
improve build caching a bit.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 29 Aug 2022 15:55:36 +0200 |
parents | a6c6bba0fc4b |
children | df5c6f3ef893 |
comparison
equal
deleted
inserted
replaced
9740:8abcb3cdaff1 | 9741:4fabdc8ed97b |
---|---|
17 RUN hg clone -b $BRANCH $REPO_URL/http-client | 17 RUN hg clone -b $BRANCH $REPO_URL/http-client |
18 | 18 |
19 RUN mvn -q -f framework/pom.xml install | 19 RUN mvn -q -f framework/pom.xml install |
20 RUN mvn -q -f http-client/pom.xml install | 20 RUN mvn -q -f http-client/pom.xml install |
21 | 21 |
22 RUN curl -LO "https://github.com/openlayers/ol2/releases/download/release-2.11/OpenLayers-2.11.tar.gz" | 22 RUN curl -sLO "https://github.com/openlayers/ol2/releases/download/release-2.11/OpenLayers-2.11.tar.gz" |
23 | 23 |
24 # Use latest patch release and fake version=4.1-p20141119 to work around | 24 # Use latest patch release and fake version=4.1-p20141119 to work around |
25 # the actual version (which is known to work properly) | 25 # the actual version (which is known to work properly) |
26 # is not publicly available | 26 # is not publicly available |
27 RUN curl -O https://www.smartclient.com/builds/SmartGWT/4.1p/LGPL/latest/smartgwt.jar | 27 RUN curl -sLO https://www.smartclient.com/builds/SmartGWT/4.1p/LGPL/latest/smartgwt.jar |
28 RUN mvn -q install:install-file -Dfile=smartgwt.jar -Dversion=4.1-p20141119 \ | |
29 -DartifactId=smartgwt-lgpl -DgroupId=com.isomorphic.smartgwt.lgpl \ | |
30 -Dpackaging=jar | |
28 | 31 |
29 ADD . river | 32 ADD . river |
30 | 33 |
31 RUN mvn -q install:install-file -Dfile=smartgwt.jar -Dversion=4.1-p20141119 \ | |
32 -DartifactId=smartgwt-lgpl -DgroupId=com.isomorphic.smartgwt.lgpl \ | |
33 -Dpackaging=jar | |
34 RUN tar -C river/gwt-client/src/main/webapp \ | 34 RUN tar -C river/gwt-client/src/main/webapp \ |
35 --exclude=OpenLayers-2.11/doc --exclude=OpenLayers-2.11/tests \ | 35 --exclude=OpenLayers-2.11/doc --exclude=OpenLayers-2.11/tests \ |
36 --exclude=OpenLayers-2.11/examples -xf OpenLayers-2.11.tar.gz | 36 --exclude=OpenLayers-2.11/examples -xf OpenLayers-2.11.tar.gz |
37 RUN rm OpenLayers-2.11.tar.gz | 37 RUN rm OpenLayers-2.11.tar.gz |
38 RUN mvn -q -f river/gwt-client/pom.xml package && \ | 38 RUN mvn -q -f river/gwt-client/pom.xml package && \ |