diff --git a/Dockerfile b/Dockerfile index b437be5..a64efab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,10 +75,14 @@ RUN cd ~ \ ########################################################################################################### FROM compiler-common AS compiler-stylesheet + +ARG STYLE_REPO="https://github.com/gravitystorm/openstreetmap-carto.git" +ARG STYLE_BRANCH="v5.3.1" + RUN apt-get install -y --no-install-recommends \ npm RUN cd ~ \ -&& git clone --single-branch --branch v5.3.1 https://github.com/gravitystorm/openstreetmap-carto.git --depth 1 \ +&& git clone --single-branch --branch ${STYLE_BRANCH} ${STYLE_REPO} --depth 1 \ && cd openstreetmap-carto \ && sed -ie 's#https:\/\/naciscdn.org\/naturalearth\/110m\/cultural\/ne_110m_admin_0_boundary_lines_land.zip#https:\/\/naturalearth.s3.amazonaws.com\/110m_cultural\/ne_110m_admin_0_boundary_lines_land.zip#g' external-data.yml \ && npm install -g carto@0.18.2 \