Mercurial > gemma
annotate docker/Dockerfile.geoserv @ 1754:807569b08513
Import queue: Auto acceptance is now a property of the import kind itself and is not configurable any more.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 10 Jan 2019 16:19:26 +0100 |
parents | ce24990b3d5c |
children | 9b5993a0551f |
rev | line source |
---|---|
458 | 1 FROM ubuntu:bionic |
2 LABEL authors="tom@intevation.de" | |
1356
ce24990b3d5c
add licensing hint to docker files
Bernhard Reiter <bernhard@intevation.de>
parents:
1269
diff
changeset
|
3 LABEL description="Contains software from gemma, for right holders and\ |
ce24990b3d5c
add licensing hint to docker files
Bernhard Reiter <bernhard@intevation.de>
parents:
1269
diff
changeset
|
4 licensing infos, see https://hg.intevation.de/gemma ." |
458 | 5 |
528
076996a41c31
fix: Dockerfile.geoserv - adding "universe" to sources.list
Thomas Junk <thomas.junk@intevation.de>
parents:
458
diff
changeset
|
6 RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list |
458 | 7 |
8 RUN apt-get update &&\ | |
9 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
|
10 curl unzip openjdk-8-jre-headless tomcat8 |
458 | 11 |
12 ENV CATALINA_HOME /usr/share/tomcat8 | |
13 ENV CATALINA_BASE /var/lib/tomcat8 | |
14 ENV CATALINA_TMPDIR /tmp/tomcat8-tmp | |
15 | |
552
ac61b03c0eaf
Fixed gesoserv download link to use https.
Sascha Wilde <wilde@intevation.de>
parents:
528
diff
changeset
|
16 ENV GS_URL https://downloads.sourceforge.net/project/geoserver/GeoServer |
1269
a990a06d9c77
Docker: use latest bugfix release of GeoServer
Tom Gottfried <tom@intevation.de>
parents:
1089
diff
changeset
|
17 ENV GS_VERSION 2.14.1 |
458 | 18 ENV GS_DATADIR /opt/geoserver/data |
19 | |
20 ENV CATALINA_OPTS="-DGEOSERVER_DATA_DIR=$GS_DATADIR" | |
21 | |
22 RUN mkdir -p $GS_DATADIR && chown tomcat8 $GS_DATADIR | |
23 | |
24 RUN curl -L $GS_URL/$GS_VERSION/geoserver-$GS_VERSION-war.zip > gs.zip &&\ | |
25 unzip -d $CATALINA_BASE/webapps/ gs.zip geoserver.war &&\ | |
26 rm gs.zip | |
27 | |
28 EXPOSE 8080 | |
29 | |
30 USER tomcat8 | |
31 | |
32 RUN mkdir $CATALINA_TMPDIR | |
33 | |
34 CMD ["/usr/share/tomcat8/bin/catalina.sh", "run"] |