Mercurial > gemma
annotate docker/Dockerfile.geoserv @ 1063:7ec2133c6404
client: add area measurement. simpify code
* Add a third draw mode which can only be activated when no
morphology is selected and we are already in LineString mode.
It adds an area calculation. Because the Polygon drawMode ends
on a double click, there needs to be an extra callback for this to
run identify so that the area calculation is shown all times.
* Add Bernhard as author to some files and also simplify copyright
note.
* Remove DRAWMODES in the code to simplify as this is just one
indirection used once in stores/application.js.
* Use mapState instead mapGetters to get the drawMode at all places
to save some code lines.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 25 Oct 2018 23:16:53 +0200 |
parents | ac61b03c0eaf |
children | 1ce42139ea0a |
rev | line source |
---|---|
458 | 1 FROM ubuntu:bionic |
2 LABEL authors="tom@intevation.de" | |
3 | |
528
076996a41c31
fix: Dockerfile.geoserv - adding "universe" to sources.list
Thomas Junk <thomas.junk@intevation.de>
parents:
458
diff
changeset
|
4 RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list |
458 | 5 |
6 RUN apt-get update &&\ | |
7 apt-get -y install --no-install-recommends \ | |
528
076996a41c31
fix: Dockerfile.geoserv - adding "universe" to sources.list
Thomas Junk <thomas.junk@intevation.de>
parents:
458
diff
changeset
|
8 curl unzip openjdk-8-jre-headless tomcat8 |
458 | 9 |
10 ENV CATALINA_HOME /usr/share/tomcat8 | |
11 ENV CATALINA_BASE /var/lib/tomcat8 | |
12 ENV CATALINA_TMPDIR /tmp/tomcat8-tmp | |
13 | |
552
ac61b03c0eaf
Fixed gesoserv download link to use https.
Sascha Wilde <wilde@intevation.de>
parents:
528
diff
changeset
|
14 ENV GS_URL https://downloads.sourceforge.net/project/geoserver/GeoServer |
458 | 15 ENV GS_VERSION 2.13.2 |
16 ENV GS_DATADIR /opt/geoserver/data | |
17 | |
18 ENV CATALINA_OPTS="-DGEOSERVER_DATA_DIR=$GS_DATADIR" | |
19 | |
20 RUN mkdir -p $GS_DATADIR && chown tomcat8 $GS_DATADIR | |
21 | |
22 RUN curl -L $GS_URL/$GS_VERSION/geoserver-$GS_VERSION-war.zip > gs.zip &&\ | |
23 unzip -d $CATALINA_BASE/webapps/ gs.zip geoserver.war &&\ | |
24 rm gs.zip | |
25 | |
26 EXPOSE 8080 | |
27 | |
28 USER tomcat8 | |
29 | |
30 RUN mkdir $CATALINA_TMPDIR | |
31 | |
32 CMD ["/usr/share/tomcat8/bin/catalina.sh", "run"] |