Skip to content

Commit 09e6fd0

Browse files
committed
fix custom docker build
1 parent 8d4657d commit 09e6fd0

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

docker/Dockerfile.pygeoapi

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,26 @@ COPY data/hyderabad /data/hyderabad
99
COPY data/norway /data/norway
1010
COPY data/scripts /data/scripts
1111

12-
# Install tippecanoe for tile generation via Homebrew
12+
# Install tippecanoe from source
1313
RUN apt-get update \
1414
&& apt-get install -y --no-install-recommends \
15-
build-essential \
16-
curl \
17-
file \
18-
git \
19-
&& git clone https://github.com/Homebrew/brew /home/linuxbrew/.linuxbrew/Homebrew \
20-
&& mkdir -p /home/linuxbrew/.linuxbrew/bin \
21-
&& ln -s ../Homebrew/bin/brew /home/linuxbrew/.linuxbrew/bin \
22-
&& /home/linuxbrew/.linuxbrew/bin/brew install tippecanoe \
23-
&& /home/linuxbrew/.linuxbrew/bin/brew cleanup \
15+
build-essential \
16+
cmake \
17+
curl \
18+
file \
19+
git \
20+
libsqlite3-dev \
21+
zlib1g-dev \
22+
libprotobuf-dev \
23+
protobuf-compiler \
24+
&& git clone https://github.com/mapbox/tippecanoe.git /tmp/tippecanoe \
25+
&& cd /tmp/tippecanoe \
26+
&& make -j \
27+
&& make install \
28+
&& cd / \
29+
&& rm -rf /tmp/tippecanoe \
30+
&& apt-get clean \
2431
&& rm -rf /var/lib/apt/lists/*
25-
ENV PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH"
2632

2733
# Build version string
2834
ARG REPO_VERSION

0 commit comments

Comments
 (0)