From 7ab7204da442962450477e773b7b7dd76e43f727 Mon Sep 17 00:00:00 2001 From: fly Date: Mon, 19 Apr 2021 18:26:46 +0200 Subject: [PATCH] Added Dockerfile for packager Signed-off-by: fly --- packager/Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 packager/Dockerfile diff --git a/packager/Dockerfile b/packager/Dockerfile new file mode 100644 index 0000000..fe4956a --- /dev/null +++ b/packager/Dockerfile @@ -0,0 +1,20 @@ +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 9288f775e74723b06cccc7611489916aa81e4d79 + +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 + +CMD ./worldbuild-packager.py -i /in -o /out -a $API_URL -t $APT_TOKEN