8
8
ARG DOCKER_CMAKE_BUILD_TYPE=Release
9
9
FROM postgres:14-bullseye as builder
10
10
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"
13
14
14
15
WORKDIR /
15
16
@@ -85,7 +86,7 @@ ENV DOCKER_CMAKE_BUILD_TYPE=${DOCKER_CMAKE_BUILD_TYPE}
85
86
# By utilizing the latest commit of the CGAL 5.5.x-branch and implementing a header-only build for SFCGAL,
86
87
# one can benefit from the latest CGAL patches while avoiding compatibility issues.
87
88
ENV CGAL_GIT_BRANCH 5.5.x-branch
88
- ENV CGAL55_GIT_HASH b4c04b53e0b9479e568fc76830976e281d02c9b4
89
+ ENV CGAL55_GIT_HASH 65802d87aa16308a5ef1472e4b674c3bf7293da3
89
90
ENV SFCGAL_GIT_HASH df3c2ccc015d4a85ac672fc307d2c7c324cccca7
90
91
RUN set -ex \
91
92
&& mkdir -p /usr/src \
@@ -119,7 +120,7 @@ RUN set -ex \
119
120
&& rm -fr /usr/src/cgal
120
121
121
122
# proj
122
- ENV PROJ_GIT_HASH c31146bee252d5b8bf4dc0b35168ab5e3ddf94b9
123
+ ENV PROJ_GIT_HASH 700721eeafd239112f289bba12d08fc8844c376d
123
124
RUN set -ex \
124
125
&& cd /usr/src \
125
126
&& git clone https://github.com/OSGeo/PROJ.git \
@@ -149,7 +150,7 @@ RUN set -ex \
149
150
&& rm -fr /usr/src/PROJ
150
151
151
152
# geos
152
- ENV GEOS_GIT_HASH c54752f9d4d44e35ac4015cbb8dd47ddb36611bf
153
+ ENV GEOS_GIT_HASH 7d20b1772d57c8eba1c12902c812dae9bf58307b
153
154
RUN set -ex \
154
155
&& cd /usr/src \
155
156
&& git clone https://github.com/libgeos/geos.git \
@@ -165,7 +166,7 @@ RUN set -ex \
165
166
&& rm -fr /usr/src/geos
166
167
167
168
# gdal
168
- ENV GDAL_GIT_HASH 67eaa768c017a21200c7acd9c208d104efea512d
169
+ ENV GDAL_GIT_HASH 717dcc0eed252e2f78c142b1f7866e49c5511224
169
170
RUN set -ex \
170
171
&& cd /usr/src \
171
172
&& git clone https://github.com/OSGeo/gdal.git \
@@ -297,11 +298,11 @@ COPY --from=builder /_pgis*.* /
297
298
COPY --from=builder /usr/local /usr/local
298
299
299
300
ENV CGAL_GIT_BRANCH 5.5.x-branch
300
- ENV CGAL55_GIT_HASH b4c04b53e0b9479e568fc76830976e281d02c9b4
301
+ ENV CGAL55_GIT_HASH 65802d87aa16308a5ef1472e4b674c3bf7293da3
301
302
ENV 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
305
306
306
307
# Minimal command line test ( fail fast )
307
308
RUN set -ex \
@@ -320,7 +321,7 @@ RUN set -ex \
320
321
|| echo "ogr2ogr missing PostgreSQL driver" && exit 1
321
322
322
323
# install postgis
323
- ENV POSTGIS_GIT_HASH 0a7d3bc20498532464c9064a4c75912f842f565f
324
+ ENV POSTGIS_GIT_HASH 1fc0c62f9bde0d09c6e716755980e159730c231d
324
325
325
326
RUN set -ex \
326
327
&& apt-get update \
@@ -335,6 +336,7 @@ RUN set -ex \
335
336
g++ \
336
337
git \
337
338
libboost-all-dev \
339
+ libcunit1-dev \
338
340
libcurl4-gnutls-dev \
339
341
libgmp-dev \
340
342
libjson-c-dev \
@@ -363,7 +365,7 @@ RUN set -ex \
363
365
&& ./configure \
364
366
# --with-gui \
365
367
--with-pcredir="$(pcre-config --prefix)" \
366
- --with -lto \
368
+ --enable -lto \
367
369
&& make -j$(nproc) \
368
370
&& make install \
369
371
# refresh proj data - workarounds: https://trac.osgeo.org/postgis/ticket/5316
0 commit comments