From e146bfd8b1f535b7278e834a35471ab0dd31f270 Mon Sep 17 00:00:00 2001 From: Fabian Lucke Date: Thu, 16 Jul 2020 22:04:07 +0200 Subject: [PATCH] Added Dockerfile for full build Signed-off-by: Fabian Lucke --- full/Dockerfile | 18 ++++++++++++++++++ full/general-settings | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 full/Dockerfile create mode 100644 full/general-settings diff --git a/full/Dockerfile b/full/Dockerfile new file mode 100644 index 0000000..dd7723b --- /dev/null +++ b/full/Dockerfile @@ -0,0 +1,18 @@ +FROM debian:stable + +RUN apt-get -y update && apt-get install -y git osmium-tool osmosis postgis pgadmin3 postgresql-contrib postgresql-client postgresql-postgis postgresql python-pip python3-venv python3-dev curl sudo flightgear + +RUN git clone https://gitlab.com/merspieler/easy-osm2city.git + +WORKDIR /easy-osm2city + +# Do some things from the install script manually +RUN git clone https://gitlab.com/merspieler/osm2city-scripts.git scripts +RUN git clone https://gitlab.com/osm2city/osm2city.git +RUN git clone https://gitlab.com/osm2city/osm2city-data.git +RUN mkdir -p pbf && mkdir -p projects + +RUN ./create-venv + + +ENTRYPOINT sleep 10000000000 diff --git a/full/general-settings b/full/general-settings new file mode 100644 index 0000000..cc125d7 --- /dev/null +++ b/full/general-settings @@ -0,0 +1,16 @@ +# You cannot run this file directrly. + +PYTHONPATH=/easy-osm2city/osm2city +export PYTHONPATH + +FG_ROOT=/usr/share/games/flightgear/ +export FG_ROOT + +threads=4 +fg_elev=/usr/games/fgelev +fg_scenery=/scenery + +db_host=localhost +db_port=5432 +db_user=osm +db_passwd="FG-is-GREAT"