Fix shallow fetch for openstreetmap-carto
This commit is contained in:
parent
19cb75baa4
commit
9fb0743c51
@ -15,7 +15,7 @@ RUN apt-get update \
|
||||
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
||||
&& echo "deb [ trusted=yes ] https://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y apt-transport-https ca-certificates
|
||||
&& apt-get install -y apt-transport-https ca-certificates
|
||||
|
||||
RUN apt-get install -y curl \
|
||||
&& wget --quiet -O - https://deb.nodesource.com/setup_10.x | bash - \
|
||||
@ -124,8 +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 --depth 1 \
|
||||
&& git -C openstreetmap-carto checkout v4.23.0 \
|
||||
&& git clone --single-branch --branch v4.23.0 https://github.com/gravitystorm/openstreetmap-carto.git --depth 1 \
|
||||
&& cd openstreetmap-carto \
|
||||
&& rm -rf .git \
|
||||
&& npm install -g carto@0.18.2 \
|
||||
|
Loading…
Reference in New Issue
Block a user