Skip to content

Commit

Permalink
🔨 Refactored mod_tile install
Browse files Browse the repository at this point in the history
  • Loading branch information
Gjacquenot committed Dec 22, 2019
1 parent 8bac516 commit 0527120
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,17 @@ USER renderer
RUN python -c 'import mapnik'

# Install mod_tile and renderd
WORKDIR /home/renderer/src
RUN git clone -b switch2osm https://github.com/SomeoneElseOSM/mod_tile.git
WORKDIR /home/renderer/src/mod_tile
RUN ./autogen.sh \
&& ./configure \
&& make -j $(nproc)
USER root
RUN make -j $(nproc) install \
&& make -j $(nproc) install-mod_tile \
&& ldconfig
RUN mkdir -p /home/renderer/src \
&& git clone -b switch2osm https://github.com/SomeoneElseOSM/mod_tile.git \
&& cd mod_tile \
&& ./autogen.sh \
&& ./configure \
&& make -j $(nproc) \
&& make -j $(nproc) install \
&& make -j $(nproc) install-mod_tile \
&& ldconfig \
&& cd .. \
&& rm -rf mod_tile
USER renderer

# Configure stylesheet
Expand Down

0 comments on commit 0527120

Please sign in to comment.