Merge pull request #99 from irexiz/master
Remove unnecessary shapefile archives to reduce final image size
This commit is contained in:
commit
f0f36a6c9b
@ -126,7 +126,8 @@ RUN mkdir -p /home/renderer/src \
|
|||||||
&& rm -rf .git \
|
&& rm -rf .git \
|
||||||
&& npm install -g carto@0.18.2 \
|
&& npm install -g carto@0.18.2 \
|
||||||
&& carto project.mml > mapnik.xml \
|
&& carto project.mml > mapnik.xml \
|
||||||
&& scripts/get-shapefiles.py
|
&& scripts/get-shapefiles.py \
|
||||||
|
&& rm /home/renderer/src/openstreetmap-carto/data/*.zip
|
||||||
|
|
||||||
# Configure renderd
|
# Configure renderd
|
||||||
RUN sed -i 's/renderaccount/renderer/g' /usr/local/etc/renderd.conf \
|
RUN sed -i 's/renderaccount/renderer/g' /usr/local/etc/renderd.conf \
|
||||||
|
Loading…
Reference in New Issue
Block a user