view docker/Dockerfile.backend @ 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 a6f18b3ccab1
children 0ad75dd3d77c
line wrap: on
line source

FROM ubuntu:bionic
LABEL authors="tom.gottfried@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 libxml2-utils\
            make git golang-go \
            ca-certificates

WORKDIR /opt/gemma

# Copy only backend stuff
COPY 3rdpartylibs.sh ./
COPY pkg ./pkg/
COPY cmd ./cmd/
COPY Makefile ./
COPY example_conf.toml ./

RUN make install

EXPOSE 8000

CMD ["/usr/local/bin/gemma", "-c", "/opt/gemma/example_conf.toml"]