Specify wich commit we want to use

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2021-03-17 13:12:12 +01:00
parent 166ffe4864
commit ce4c8b8cb2

View file

@ -10,14 +10,22 @@ RUN git clone https://gitlab.com/merspieler/easy-osm2city.git
WORKDIR /easy-osm2city WORKDIR /easy-osm2city
COPY general-settings . COPY general-settings .
ENV OSM2CITY_COMMIT ad086ee509e9d5025c9836918c387ee7514045be
ENV OSM2CITY_DATA_COMMIT 43eb54b82439deafc2d914ead0efe4bea9cd1cf5
# Do some things from the install script manually # 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/merspieler/osm2city-scripts.git scripts
RUN git clone https://gitlab.com/osm2city/osm2city.git RUN git clone https://gitlab.com/osm2city/osm2city.git
RUN git clone https://gitlab.com/osm2city/osm2city-data.git RUN git clone https://gitlab.com/osm2city/osm2city-data.git
RUN mkdir -p pbf && mkdir -p projects && mkdir -p /scenery RUN mkdir -p pbf && mkdir -p projects && mkdir -p /scenery
# Checkout known working commits
RUN cd osm2city && git checkout $OSM2CITY_COMMIT && cd ../osm2city-data && git checkout $OSM2CITY_DATA_COMMIT && cd ..
RUN ./create-venv RUN ./create-venv
VOLUME /scenery VOLUME /scenery
VOLUME /easy-osm2city/projects VOLUME /easy-osm2city/projects
VOLUME /easy-osm2city/pbf VOLUME /easy-osm2city/pbf