Merge pull request #99 from irexiz/master

Remove unnecessary shapefile archives to reduce final image size
This commit is contained in:
Alexander Overvoorde 2020-02-04 19:58:55 +01:00 committed by GitHub
commit f0f36a6c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \