Skip to content

Commit

Permalink
🐛 Fixed remove directory /home/renderer/src
Browse files Browse the repository at this point in the history
  • Loading branch information
Gjacquenot committed Dec 23, 2019
1 parent f69bcd2 commit 837a38d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,19 @@ RUN mkdir -p /home/renderer/src \
&& cd /home/renderer/src \
&& git clone https://github.com/openstreetmap/osm2pgsql.git \
&& cd /home/renderer/src/osm2pgsql \
&& rm -rf .git \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make -j $(nproc) \
&& make install \
&& mkdir /nodes \
&& chown renderer:renderer /nodes \
&& rm -rf /home/renderer/src
&& rm -rf /home/renderer/src/osm2pgsql/build

# Install mod_tile and renderd
RUN mkdir -p /home/renderer/src \
&& cd /home/renderer/src \
&& git clone -b switch2osm https://github.com/SomeoneElseOSM/mod_tile.git \
&& cd mod_tile \
&& ./autogen.sh \
Expand All @@ -117,6 +119,7 @@ RUN mkdir -p /home/renderer/src \

# Configure stylesheet
RUN mkdir -p /home/renderer/src \
&& cd /home/renderer/src \
&& git clone https://github.com/gravitystorm/openstreetmap-carto.git \
&& git -C openstreetmap-carto checkout v4.23.0 \
&& cd openstreetmap-carto \
Expand Down

0 comments on commit 837a38d

Please sign in to comment.