view docker/Dockerfile.geoserv @ 4017:639bdb17c3f2

Fixed offset for fairway box This was broken by changeset: 4080:bf86f9a08733 user: Thomas Junk <thomas.junk@intevation.de> Date: Thu Jul 18 15:04:30 2019 +0200 summary: improve fairwaydiagram printing positioning For the record: I think the current implementation exceptionally flawed. Instead of adding extra offset parameters to the diagram elements the whole building block with all contained elements should be translated in one step, that would be less cluttered and less error prone...
author Sascha Wilde <wilde@intevation.de>
date Fri, 19 Jul 2019 16:59:25 +0200
parents b6afae085f5e
children a524e7d7e75f
line wrap: on
line source

FROM ubuntu:bionic
LABEL authors="tom@intevation.de"
LABEL description="Contains software from gemma, for right holders and\
 licensing infos, see https://hg.intevation.de/gemma ."

RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list

RUN apt-get update &&\
    apt-get -y install --no-install-recommends \
    curl unzip openjdk-8-jre-headless tomcat8

ENV CATALINA_HOME /usr/share/tomcat8
ENV CATALINA_BASE /var/lib/tomcat8
ENV CATALINA_TMPDIR /tmp/tomcat8-tmp

ENV GS_URL https://downloads.sourceforge.net/project/geoserver/GeoServer

ENV GS_VERSION 2.15.1
ENV GS_DATADIR /opt/geoserver/data

ENV CATALINA_OPTS="-DGEOSERVER_DATA_DIR=$GS_DATADIR"

RUN mkdir -p $GS_DATADIR && chown tomcat8 $GS_DATADIR

RUN curl -L $GS_URL/$GS_VERSION/geoserver-$GS_VERSION-war.zip > gs.zip &&\
    unzip -d $CATALINA_BASE/webapps/ gs.zip geoserver.war &&\
    rm gs.zip

EXPOSE 8080

USER tomcat8

RUN mkdir $CATALINA_TMPDIR

CMD ["/usr/share/tomcat8/bin/catalina.sh", "run"]