easy-osm2city-podman/packager/Dockerfile
fly 9cb8c0db1d Make /tmp a volume
Signed-off-by: fly <merspieler@airmail.cc>
2021-09-29 14:06:18 +02:00

21 lines
468 B
Docker

FROM debian:buster
RUN apt-get -y update && apt-get install -y git python3-pip curl vim wget
RUN pip3 install requests
ENV EASY_O2C_SCRIPTS_COMMIT 112bfc9db9378e39c9ddee90cd88cab4ef6321a5
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
VOLUME /tmp
CMD ./worldbuild-packager.py -i /in -o /out -a $API_URL -t $API_TOKEN