2021-04-19 16:26:46 +00:00
|
|
|
FROM debian:buster
|
|
|
|
|
|
|
|
RUN apt-get -y update && apt-get install -y git python3-pip curl vim wget
|
|
|
|
|
|
|
|
RUN pip3 install requests
|
|
|
|
|
2021-06-18 22:06:46 +00:00
|
|
|
ENV EASY_O2C_SCRIPTS_COMMIT 75ff8d8ba1dd727e6b3fd7dca962bfe637fd9faf
|
2021-04-19 16:26:46 +00:00
|
|
|
|
|
|
|
RUN git clone https://gitlab.com/merspieler/osm2city-scripts.git scripts
|
|
|
|
|
|
|
|
WORKDIR /scripts
|
|
|
|
|
|
|
|
RUN git checkout $EASY_O2C_SCRIPTS_COMMIT
|
|
|
|
|
|
|
|
RUN mkdir -p /in && mkdir -p /out
|
|
|
|
|
|
|
|
VOLUME /in
|
|
|
|
VOLUME /out
|
|
|
|
|
2021-04-19 16:38:30 +00:00
|
|
|
CMD ./worldbuild-packager.py -i /in -o /out -a $API_URL -t $API_TOKEN
|