Make it easier to change style
This commit is contained in:
parent
672e2cd5b3
commit
9df02dc253
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user