23 lines
774 B
Docker
23 lines
774 B
Docker
FROM debian:buster
|
|
|
|
RUN apt-get -y update && apt-get install -y git osmium-tool osmosis postgis pgadmin3 postgresql-contrib postgresql-client postgresql-postgis postgresql python3-pip python3-venv python3-dev curl sudo flightgear tmux vim wget
|
|
|
|
RUN pip3 install requests
|
|
|
|
|
|
RUN git clone https://gitlab.com/merspieler/easy-osm2city.git
|
|
|
|
WORKDIR /easy-osm2city
|
|
COPY general-settings .
|
|
|
|
# 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 && mkdir -p /scenery
|
|
|
|
RUN ./create-venv
|
|
|
|
VOLUME /scenery
|
|
VOLUME /easy-osm2city/projects
|
|
VOLUME /easy-osm2city/pbf
|