view docker/Dockerfile.backend @ 1523:9b0d3da61309

Translated using Weblate (Austrian German) Currently translated at 97.4% (114 of 117 strings) Translation: Gemma/client Translate-URL: https://hosted.weblate.org/projects/gemma/client/de_AT/
author Sascha Wilde <wilde@intevation.de>
date Thu, 06 Dec 2018 16:04:37 +0000
parents ce24990b3d5c
children ca9bd1ce26e5
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 \
            make git golang-go golang-github-gorilla-context-dev

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"]