Skip to content

Commit

Permalink
Add mapnik v3.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed Jul 11, 2018
1 parent a197dc3 commit a048d3e
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## Supported tags and respective `Dockerfile` links

- [`3.0.19`, `latest` (v3.0.19/Dockerfile)](https://github.com/jawg/docker-mapnik3/tree/master/v3.0.19/Dockerfile)
- [`3.0.20`, `latest` (v3.0.20/Dockerfile)](https://github.com/jawg/docker-mapnik3/tree/master/v3.0.20/Dockerfile)
- [`3.0.19` (v3.0.19/Dockerfile)](https://github.com/jawg/docker-mapnik3/tree/master/v3.0.19/Dockerfile)
- [`3.0.18` (v3.0.18/Dockerfile)](https://github.com/jawg/docker-mapnik3/tree/master/v3.0.18/Dockerfile)
- [`3.0.17` (v3.0.17/Dockerfile)](https://github.com/jawg/docker-mapnik3/tree/master/v3.0.17/Dockerfile)
- [`3.0.16` (v3.0.16/Dockerfile)](https://github.com/jawg/docker-mapnik3/tree/master/v3.0.16/Dockerfile)
Expand Down
80 changes: 80 additions & 0 deletions v3.0.20/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Copyright 2015-2018 eBusiness Information
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM debian:jessie-slim

ENV MAPNIK_VERSION v3.0.20

ENV BUILD_DEPENDENCIES="build-essential \
ca-certificates \
git \
icu-devtools \
libboost-dev \
libboost-filesystem-dev \
libboost-program-options-dev \
libboost-regex-dev \
libboost-thread-dev \
libboost-system-dev \
libcairo-dev \
libfreetype6-dev \
libgdal-dev \
libharfbuzz-dev \
libicu-dev \
libjpeg-dev \
libpq-dev \
libproj-dev \
librasterlite-dev \
libsqlite3-dev \
libtiff-dev \
libwebp-dev"

ENV DEPENDENCIES="libboost-filesystem1.55.0 \
libboost-program-options1.55.0 \
libboost-regex1.55.0 \
libboost-thread1.55.0 \
libboost-system1.55.0 \
libcairo2 \
libfreetype6 \
libgdal1h \
libharfbuzz-gobject0 \
libharfbuzz-icu0 \
libharfbuzz0b \
libicu52 \
libjpeg62-turbo \
libpq5 \
libproj0 \
librasterlite2 \
libsqlite3-0 \
libtiff5 \
libtiffxx5 \
libwebp5 \
libwebpdemux1 \
libwebpmux1 \
python"

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
$BUILD_DEPENDENCIES $DEPENDENCIES \
&& git clone https://github.com/mapnik/mapnik.git \
&& cd mapnik \
&& git checkout $MAPNIK_VERSION \
&& git submodule update --init \
&& python scons/scons.py INPUT_PLUGINS='all' \
&& make \
&& make install \
&& cd - \
&& rm -r mapnik \
&& apt-get autoremove -y --purge $BUILD_DEPENDENCIES \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/local/lib/mapnik /usr/lib/mapnik

0 comments on commit a048d3e

Please sign in to comment.