Mercurial > dive4elements > river
changeset 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 | 8abcb3cdaff1 |
children | df5c6f3ef893 |
files | docker/Dockerfile.gwt-client |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/docker/Dockerfile.gwt-client Thu Aug 25 10:51:49 2022 +0200 +++ b/docker/Dockerfile.gwt-client Mon Aug 29 15:55:36 2022 +0200 @@ -19,18 +19,18 @@ 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" +RUN curl -sLO "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 -RUN curl -O https://www.smartclient.com/builds/SmartGWT/4.1p/LGPL/latest/smartgwt.jar +RUN curl -sLO https://www.smartclient.com/builds/SmartGWT/4.1p/LGPL/latest/smartgwt.jar +RUN mvn -q install:install-file -Dfile=smartgwt.jar -Dversion=4.1-p20141119 \ + -DartifactId=smartgwt-lgpl -DgroupId=com.isomorphic.smartgwt.lgpl \ + -Dpackaging=jar ADD . river -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