Mercurial > gemma
annotate docker/Dockerfile.geoserv @ 1092:d47b69baacfa
added chainage column to bottleneck list
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Tue, 30 Oct 2018 12:01:53 +0100 |
parents | 1ce42139ea0a |
children | a990a06d9c77 |
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 |
1089
1ce42139ea0a
Upgrade Dockerfile to new stable release of GeoServer
Tom Gottfried <tom@intevation.de>
parents:
552
diff
changeset
|
15 ENV GS_VERSION 2.14.0 |
458 | 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"] |