From 19cb75baa4679eeb240ace9f8c940f269fd91c28 Mon Sep 17 00:00:00 2001 From: Mou97 Date: Sun, 31 May 2020 01:21:42 +0100 Subject: [PATCH] removed git command thats fetches the whole history after a shallow clone --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2965c98..6f28e55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,7 +98,6 @@ RUN mkdir -p /home/renderer/src \ && cd /home/renderer/src \ && git clone https://github.com/openstreetmap/osm2pgsql.git --depth 1 \ && cd /home/renderer/src/osm2pgsql \ - && git fetch --unshallow \ && rm -rf .git \ && mkdir build \ && cd build \ @@ -125,7 +124,7 @@ RUN mkdir -p /home/renderer/src \ # Configure stylesheet RUN mkdir -p /home/renderer/src \ && cd /home/renderer/src \ - && git clone https://github.com/gravitystorm/openstreetmap-carto.git \ + && git clone https://github.com/gravitystorm/openstreetmap-carto.git --depth 1 \ && git -C openstreetmap-carto checkout v4.23.0 \ && cd openstreetmap-carto \ && rm -rf .git \