Skip to content

Commit 4e1bf4e

Browse files
authored
Upgrade to Postgis 3.3.4 / 3.4.0beta2 + related changes (#352)
* Upgrade to Postgis 3.3.4 + related changes Changes to be committed: modified: .github/workflows/main.yml modified: 11-3.3/Dockerfile modified: 11-3.3/alpine/Dockerfile modified: 12-3.3/Dockerfile modified: 12-3.3/alpine/Dockerfile modified: 13-3.3/Dockerfile modified: 13-3.3/alpine/Dockerfile modified: 14-3.3/Dockerfile modified: 14-3.3/alpine/Dockerfile modified: 14-master/Dockerfile modified: 15-3.3/Dockerfile modified: 15-3.3/alpine/Dockerfile modified: 15-master/Dockerfile deleted: 16beta2-3.3.3/Dockerfile new file: 16beta2-3.3/Dockerfile renamed: 16beta2-3.3.3/alpine/Dockerfile -> 16beta2-3.3/alpine/Dockerfile renamed: 16beta2-3.3.3/alpine/initdb-postgis.sh -> 16beta2-3.3/alpine/initdb-postgis.sh renamed: 16beta2-3.3.3/alpine/update-postgis.sh -> 16beta2-3.3/alpine/update-postgis.sh new file: 16beta2-3.3/initdb-postgis.sh new file: 16beta2-3.3/update-postgis.sh modified: 16beta2-master/Dockerfile modified: README.md * Add 3.4.0beta2 test images ( alpine only ) Changes to be committed: modified: .github/workflows/main.yml new file: 15-3.4.0beta2/Dockerfile new file: 15-3.4.0beta2/alpine/Dockerfile new file: 15-3.4.0beta2/alpine/initdb-postgis.sh new file: 15-3.4.0beta2/alpine/update-postgis.sh new file: 16beta2-3.4.0beta2/Dockerfile new file: 16beta2-3.4.0beta2/alpine/Dockerfile new file: 16beta2-3.4.0beta2/alpine/initdb-postgis.sh new file: 16beta2-3.4.0beta2/alpine/update-postgis.sh modified: README.md modified: update.sh
1 parent baa1c86 commit 4e1bf4e

File tree

30 files changed

+512
-69
lines changed

30 files changed

+512
-69
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
make-docker-images:
1616
strategy:
1717
matrix:
18-
postgres: [11, 12, 13, 14, 15]
18+
postgres: [11, 12, 13, 14, 15, 16beta2]
1919
postgis: ['3.3']
2020
variant: [default, alpine]
2121
include:
@@ -28,8 +28,11 @@ jobs:
2828
- postgres: 16beta2
2929
postgis: master
3030
variant: default
31+
- postgres: 15
32+
postgis: 3.4.0beta2
33+
variant: alpine
3134
- postgres: 16beta2
32-
postgis: 3.3.3
35+
postgis: 3.4.0beta2
3336
variant: alpine
3437

3538
name: Build docker image for ${{ matrix.postgres }}-${{ matrix.postgis }} variant ${{ matrix.variant }}

11-3.3/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
FROM postgres:11-bullseye
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \
8-
org.opencontainers.image.description="PostGIS 3.3.3+dfsg-1.pgdg110+1 spatial database extension with PostgreSQL 11 bullseye" \
8+
org.opencontainers.image.description="PostGIS 3.3.4+dfsg-1.pgdg110+1 spatial database extension with PostgreSQL 11 bullseye" \
99
org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
1010

1111
ENV POSTGIS_MAJOR 3
12-
ENV POSTGIS_VERSION 3.3.3+dfsg-1.pgdg110+1
12+
ENV POSTGIS_VERSION 3.3.4+dfsg-1.pgdg110+1
1313

1414
RUN apt-get update \
1515
&& apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \

11-3.3/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ ARG BASE_IMAGE=postgres:11-alpine3.18
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \
8-
org.opencontainers.image.description="PostGIS 3.3.3 spatial database extension with PostgreSQL 11 Alpine" \
8+
org.opencontainers.image.description="PostGIS 3.3.4 spatial database extension with PostgreSQL 11 Alpine" \
99
org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
1010

11-
ENV POSTGIS_VERSION 3.3.3
12-
ENV POSTGIS_SHA256 441bb33bd2be362c7c463161207f290a1c25083027a069322696eeec74fc916b
11+
ENV POSTGIS_VERSION 3.3.4
12+
ENV POSTGIS_SHA256 68507aa4ab7f9f7218fcefdcdd989911415e5f670128eb33acbbb362a24a998e
1313

1414
RUN set -eux \
1515
&& apk add --no-cache --virtual .fetch-deps \

12-3.3/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
FROM postgres:12-bullseye
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \
8-
org.opencontainers.image.description="PostGIS 3.3.3+dfsg-1.pgdg110+1 spatial database extension with PostgreSQL 12 bullseye" \
8+
org.opencontainers.image.description="PostGIS 3.3.4+dfsg-1.pgdg110+1 spatial database extension with PostgreSQL 12 bullseye" \
99
org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
1010

1111
ENV POSTGIS_MAJOR 3
12-
ENV POSTGIS_VERSION 3.3.3+dfsg-1.pgdg110+1
12+
ENV POSTGIS_VERSION 3.3.4+dfsg-1.pgdg110+1
1313

1414
RUN apt-get update \
1515
&& apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \

12-3.3/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ ARG BASE_IMAGE=postgres:12-alpine3.18
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \
8-
org.opencontainers.image.description="PostGIS 3.3.3 spatial database extension with PostgreSQL 12 Alpine" \
8+
org.opencontainers.image.description="PostGIS 3.3.4 spatial database extension with PostgreSQL 12 Alpine" \
99
org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
1010

11-
ENV POSTGIS_VERSION 3.3.3
12-
ENV POSTGIS_SHA256 441bb33bd2be362c7c463161207f290a1c25083027a069322696eeec74fc916b
11+
ENV POSTGIS_VERSION 3.3.4
12+
ENV POSTGIS_SHA256 68507aa4ab7f9f7218fcefdcdd989911415e5f670128eb33acbbb362a24a998e
1313

1414
RUN set -eux \
1515
&& apk add --no-cache --virtual .fetch-deps \

13-3.3/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
FROM postgres:13-bullseye
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \
8-
org.opencontainers.image.description="PostGIS 3.3.3+dfsg-1.pgdg110+1 spatial database extension with PostgreSQL 13 bullseye" \
8+
org.opencontainers.image.description="PostGIS 3.3.4+dfsg-1.pgdg110+1 spatial database extension with PostgreSQL 13 bullseye" \
99
org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
1010

1111
ENV POSTGIS_MAJOR 3
12-
ENV POSTGIS_VERSION 3.3.3+dfsg-1.pgdg110+1
12+
ENV POSTGIS_VERSION 3.3.4+dfsg-1.pgdg110+1
1313

1414
RUN apt-get update \
1515
&& apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \

13-3.3/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ ARG BASE_IMAGE=postgres:13-alpine3.18
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \
8-
org.opencontainers.image.description="PostGIS 3.3.3 spatial database extension with PostgreSQL 13 Alpine" \
8+
org.opencontainers.image.description="PostGIS 3.3.4 spatial database extension with PostgreSQL 13 Alpine" \
99
org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
1010

11-
ENV POSTGIS_VERSION 3.3.3
12-
ENV POSTGIS_SHA256 441bb33bd2be362c7c463161207f290a1c25083027a069322696eeec74fc916b
11+
ENV POSTGIS_VERSION 3.3.4
12+
ENV POSTGIS_SHA256 68507aa4ab7f9f7218fcefdcdd989911415e5f670128eb33acbbb362a24a998e
1313

1414
RUN set -eux \
1515
&& apk add --no-cache --virtual .fetch-deps \

14-3.3/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
FROM postgres:14-bullseye
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \
8-
org.opencontainers.image.description="PostGIS 3.3.3+dfsg-1.pgdg110+1 spatial database extension with PostgreSQL 14 bullseye" \
8+
org.opencontainers.image.description="PostGIS 3.3.4+dfsg-1.pgdg110+1 spatial database extension with PostgreSQL 14 bullseye" \
99
org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
1010

1111
ENV POSTGIS_MAJOR 3
12-
ENV POSTGIS_VERSION 3.3.3+dfsg-1.pgdg110+1
12+
ENV POSTGIS_VERSION 3.3.4+dfsg-1.pgdg110+1
1313

1414
RUN apt-get update \
1515
&& apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \

14-3.3/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ ARG BASE_IMAGE=postgres:14-alpine3.18
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \
8-
org.opencontainers.image.description="PostGIS 3.3.3 spatial database extension with PostgreSQL 14 Alpine" \
8+
org.opencontainers.image.description="PostGIS 3.3.4 spatial database extension with PostgreSQL 14 Alpine" \
99
org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
1010

11-
ENV POSTGIS_VERSION 3.3.3
12-
ENV POSTGIS_SHA256 441bb33bd2be362c7c463161207f290a1c25083027a069322696eeec74fc916b
11+
ENV POSTGIS_VERSION 3.3.4
12+
ENV POSTGIS_SHA256 68507aa4ab7f9f7218fcefdcdd989911415e5f670128eb33acbbb362a24a998e
1313

1414
RUN set -eux \
1515
&& apk add --no-cache --virtual .fetch-deps \

14-master/Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ ENV DOCKER_CMAKE_BUILD_TYPE=${DOCKER_CMAKE_BUILD_TYPE}
8888
# one can benefit from the latest CGAL patches while avoiding compatibility issues.
8989
ARG CGAL_GIT_BRANCH
9090
ENV CGAL_GIT_BRANCH=${CGAL_GIT_BRANCH}
91-
ENV CGAL5X_GIT_HASH 9cc17545b4a80297fdbba5cc348479edea767cfb
91+
ENV CGAL5X_GIT_HASH dd3b569e7abd66ba181d8d5567b62b1b88f187d1
9292
ENV SFCGAL_GIT_HASH ae0a12da1e7a32d163930789e62874ca6ff0792c
9393
RUN set -ex \
9494
&& mkdir -p /usr/src \
@@ -122,7 +122,7 @@ RUN set -ex \
122122
&& rm -fr /usr/src/cgal
123123

124124
# proj
125-
ENV PROJ_GIT_HASH effac63ae5360e737790defa5bdc3d070d19a49b
125+
ENV PROJ_GIT_HASH fde3d58e4af51f8e6c9cafeeb2b0299ab1218d91
126126
RUN set -ex \
127127
&& cd /usr/src \
128128
&& git clone https://github.com/OSGeo/PROJ.git \
@@ -152,7 +152,7 @@ RUN set -ex \
152152
&& rm -fr /usr/src/PROJ
153153

154154
# geos
155-
ENV GEOS_GIT_HASH 17fd3b0ffcb7dac8a79ca35b1938760f444629cd
155+
ENV GEOS_GIT_HASH 3d4870f7970dfac1b090e8a0d05d9b969a9d1180
156156
RUN set -ex \
157157
&& cd /usr/src \
158158
&& git clone https://github.com/libgeos/geos.git \
@@ -168,7 +168,7 @@ RUN set -ex \
168168
&& rm -fr /usr/src/geos
169169

170170
# gdal
171-
ENV GDAL_GIT_HASH f11a55b71435db4000db1665739cd65f8441cde7
171+
ENV GDAL_GIT_HASH d5ae41aed1960dfd511d3c1edfbcefbe85d1adb2
172172
RUN set -ex \
173173
&& cd /usr/src \
174174
&& git clone https://github.com/OSGeo/gdal.git \
@@ -301,11 +301,11 @@ COPY --from=builder /usr/local /usr/local
301301

302302
ARG CGAL_GIT_BRANCH
303303
ENV CGAL_GIT_BRANCH=${CGAL_GIT_BRANCH}
304-
ENV CGAL5X_GIT_HASH 9cc17545b4a80297fdbba5cc348479edea767cfb
304+
ENV CGAL5X_GIT_HASH dd3b569e7abd66ba181d8d5567b62b1b88f187d1
305305
ENV SFCGAL_GIT_HASH ae0a12da1e7a32d163930789e62874ca6ff0792c
306-
ENV PROJ_GIT_HASH effac63ae5360e737790defa5bdc3d070d19a49b
307-
ENV GEOS_GIT_HASH 17fd3b0ffcb7dac8a79ca35b1938760f444629cd
308-
ENV GDAL_GIT_HASH f11a55b71435db4000db1665739cd65f8441cde7
306+
ENV PROJ_GIT_HASH fde3d58e4af51f8e6c9cafeeb2b0299ab1218d91
307+
ENV GEOS_GIT_HASH 3d4870f7970dfac1b090e8a0d05d9b969a9d1180
308+
ENV GDAL_GIT_HASH d5ae41aed1960dfd511d3c1edfbcefbe85d1adb2
309309

310310
# Minimal command line test ( fail fast )
311311
RUN set -ex \
@@ -324,7 +324,7 @@ RUN set -ex \
324324
|| echo "ogr2ogr missing PostgreSQL driver" && exit 1
325325

326326
# install postgis
327-
ENV POSTGIS_GIT_HASH 9b9a99dd0302f3a4e0b8a1c628fd00ba6f0e348d
327+
ENV POSTGIS_GIT_HASH 6c7661430ebcce4521b23bd97b0a0d2be5ea027d
328328

329329
RUN set -ex \
330330
&& apt-get update \

0 commit comments

Comments
 (0)