From b71e7a6aba1e1ab78796870f5abf10bcbc813c27 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquenot Date: Sat, 21 Dec 2019 23:09:37 +0100 Subject: [PATCH] :hammer: Refactored regional instruction --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 26cd2ff..cdaab7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -158,11 +158,12 @@ RUN chmod +x /usr/bin/openstreetmap-tiles-update-expire \ && echo "* * * * * renderer openstreetmap-tiles-update-expire\n" >> /etc/crontab # install trim_osc.py helper script -RUN cd ~/src \ +RUN mkdir -p /home/renderer/src \ + && cd /home/renderer/src \ && git clone https://github.com/zverik/regional \ && cd regional \ && git checkout 612fe3e040d8bb70d2ab3b133f3b2cfc6c940520 \ - && chmod u+x ~/src/regional/trim_osc.py + && chmod u+x /home/renderer/src/regional/trim_osc.py # Start running COPY run.sh /