🔨 Refactored openstreetmap-carto install
This commit is contained in:
parent
0527120c30
commit
868d2fae0a
11
Dockerfile
11
Dockerfile
@ -123,12 +123,11 @@ RUN mkdir -p /home/renderer/src \
|
|||||||
USER renderer
|
USER renderer
|
||||||
|
|
||||||
# Configure stylesheet
|
# Configure stylesheet
|
||||||
WORKDIR /home/renderer/src
|
RUN mkdir -p /home/renderer/src \
|
||||||
RUN git clone https://github.com/gravitystorm/openstreetmap-carto.git \
|
&& git clone https://github.com/gravitystorm/openstreetmap-carto.git \
|
||||||
&& git -C openstreetmap-carto checkout v4.23.0
|
&& git -C openstreetmap-carto checkout v4.23.0 \
|
||||||
WORKDIR /home/renderer/src/openstreetmap-carto
|
&& openstreetmap-carto \
|
||||||
USER root
|
&& npm install -g carto@0.18.2
|
||||||
RUN npm install -g carto@0.18.2
|
|
||||||
USER renderer
|
USER renderer
|
||||||
RUN carto project.mml > mapnik.xml
|
RUN carto project.mml > mapnik.xml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user