Added Dockerfile for full build

Signed-off-by: Fabian Lucke <fabian.lucke@uniki.de>
This commit is contained in:
Fabian Lucke 2020-07-16 22:04:07 +02:00
parent 7377e58255
commit e146bfd8b1
2 changed files with 34 additions and 0 deletions

18
full/Dockerfile Normal file
View file

@ -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

16
full/general-settings Normal file
View file

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