88ARG DOCKER_CMAKE_BUILD_TYPE=Release
99FROM postgres:14-bullseye as builder
1010
11- LABEL maintainer="PostGIS Project - https://postgis.net"
12- LABEL org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
11+ LABEL maintainer="PostGIS Project - https://postgis.net" \
12+ org.opencontainers.image.description="PostGIS - master spatial database extension with PostgreSQL 14 bullseye" \
13+ org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
1314
1415WORKDIR /
1516
@@ -85,7 +86,7 @@ ENV DOCKER_CMAKE_BUILD_TYPE=${DOCKER_CMAKE_BUILD_TYPE}
8586# By utilizing the latest commit of the CGAL 5.5.x-branch and implementing a header-only build for SFCGAL,
8687# one can benefit from the latest CGAL patches while avoiding compatibility issues.
8788ENV CGAL_GIT_BRANCH 5.5.x-branch
88- ENV CGAL55_GIT_HASH b4c04b53e0b9479e568fc76830976e281d02c9b4
89+ ENV CGAL55_GIT_HASH 65802d87aa16308a5ef1472e4b674c3bf7293da3
8990ENV SFCGAL_GIT_HASH df3c2ccc015d4a85ac672fc307d2c7c324cccca7
9091RUN set -ex \
9192 && mkdir -p /usr/src \
@@ -119,7 +120,7 @@ RUN set -ex \
119120 && rm -fr /usr/src/cgal
120121
121122# proj
122- ENV PROJ_GIT_HASH c31146bee252d5b8bf4dc0b35168ab5e3ddf94b9
123+ ENV PROJ_GIT_HASH 700721eeafd239112f289bba12d08fc8844c376d
123124RUN set -ex \
124125 && cd /usr/src \
125126 && git clone https://github.com/OSGeo/PROJ.git \
@@ -149,7 +150,7 @@ RUN set -ex \
149150 && rm -fr /usr/src/PROJ
150151
151152# geos
152- ENV GEOS_GIT_HASH c54752f9d4d44e35ac4015cbb8dd47ddb36611bf
153+ ENV GEOS_GIT_HASH 7d20b1772d57c8eba1c12902c812dae9bf58307b
153154RUN set -ex \
154155 && cd /usr/src \
155156 && git clone https://github.com/libgeos/geos.git \
@@ -165,7 +166,7 @@ RUN set -ex \
165166 && rm -fr /usr/src/geos
166167
167168# gdal
168- ENV GDAL_GIT_HASH 67eaa768c017a21200c7acd9c208d104efea512d
169+ ENV GDAL_GIT_HASH 717dcc0eed252e2f78c142b1f7866e49c5511224
169170RUN set -ex \
170171 && cd /usr/src \
171172 && git clone https://github.com/OSGeo/gdal.git \
@@ -297,11 +298,11 @@ COPY --from=builder /_pgis*.* /
297298COPY --from=builder /usr/local /usr/local
298299
299300ENV CGAL_GIT_BRANCH 5.5.x-branch
300- ENV CGAL55_GIT_HASH b4c04b53e0b9479e568fc76830976e281d02c9b4
301+ ENV CGAL55_GIT_HASH 65802d87aa16308a5ef1472e4b674c3bf7293da3
301302ENV SFCGAL_GIT_HASH df3c2ccc015d4a85ac672fc307d2c7c324cccca7
302- ENV PROJ_GIT_HASH c31146bee252d5b8bf4dc0b35168ab5e3ddf94b9
303- ENV GEOS_GIT_HASH c54752f9d4d44e35ac4015cbb8dd47ddb36611bf
304- ENV GDAL_GIT_HASH 67eaa768c017a21200c7acd9c208d104efea512d
303+ ENV PROJ_GIT_HASH 700721eeafd239112f289bba12d08fc8844c376d
304+ ENV GEOS_GIT_HASH 7d20b1772d57c8eba1c12902c812dae9bf58307b
305+ ENV GDAL_GIT_HASH 717dcc0eed252e2f78c142b1f7866e49c5511224
305306
306307# Minimal command line test ( fail fast )
307308RUN set -ex \
@@ -320,7 +321,7 @@ RUN set -ex \
320321 || echo "ogr2ogr missing PostgreSQL driver" && exit 1
321322
322323# install postgis
323- ENV POSTGIS_GIT_HASH 0a7d3bc20498532464c9064a4c75912f842f565f
324+ ENV POSTGIS_GIT_HASH 1fc0c62f9bde0d09c6e716755980e159730c231d
324325
325326RUN set -ex \
326327 && apt-get update \
@@ -335,6 +336,7 @@ RUN set -ex \
335336 g++ \
336337 git \
337338 libboost-all-dev \
339+ libcunit1-dev \
338340 libcurl4-gnutls-dev \
339341 libgmp-dev \
340342 libjson-c-dev \
@@ -363,7 +365,7 @@ RUN set -ex \
363365 && ./configure \
364366# --with-gui \
365367 --with-pcredir="$(pcre-config --prefix)" \
366- --with -lto \
368+ --enable -lto \
367369 && make -j$(nproc) \
368370 && make install \
369371# refresh proj data - workarounds: https://trac.osgeo.org/postgis/ticket/5316
0 commit comments