Update Dockerfile

This commit is contained in:
galewis2 2021-09-13 12:14:31 -04:00 committed by GitHub
parent 3d5ff58f1f
commit d0caec53d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,7 @@ RUN apt-get update \
###########################################################################################################
FROM compiler-common AS compiler-postgis
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
RUN apt-get install -y --no-install-recommends \
postgresql-server-dev-12
RUN wget https://download.osgeo.org/postgis/source/postgis-3.1.1.tar.gz -O postgis.tar.gz \
&& mkdir -p postgis_src \
@ -25,8 +24,7 @@ RUN wget https://download.osgeo.org/postgis/source/postgis-3.1.1.tar.gz -O postg
###########################################################################################################
FROM compiler-common AS compiler-osm2pgsql
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
RUN apt-get install -y --no-install-recommends \
cmake \
g++ \
libboost-dev \
@ -52,8 +50,7 @@ RUN cd ~ \
###########################################################################################################
FROM compiler-common AS compiler-modtile-renderd
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
RUN apt-get install -y --no-install-recommends \
apache2-dev \
automake \
autoconf \
@ -72,8 +69,7 @@ RUN cd ~ \
###########################################################################################################
FROM compiler-common AS compiler-stylesheet
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
RUN apt-get install -y --no-install-recommends \
npm
RUN cd ~ \
&& git clone --single-branch --branch v5.3.1 https://github.com/gravitystorm/openstreetmap-carto.git --depth 1 \