Skip to content

Commit 521378c

Browse files
committed
update to alpine3.22
Signed-off-by: ImreSamu <[email protected]>
1 parent 6af9dbb commit 521378c

File tree

11 files changed

+38
-38
lines changed

11 files changed

+38
-38
lines changed

13-3.5/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# NOTE: THIS DOCKERFILE IS GENERATED VIA "make update"! PLEASE DO NOT EDIT IT DIRECTLY.
33
#
4-
ARG BASE_IMAGE=postgres:13-alpine3.21
4+
ARG BASE_IMAGE=postgres:13-alpine3.22
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \

14-3.5/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# NOTE: THIS DOCKERFILE IS GENERATED VIA "make update"! PLEASE DO NOT EDIT IT DIRECTLY.
33
#
4-
ARG BASE_IMAGE=postgres:14-alpine3.21
4+
ARG BASE_IMAGE=postgres:14-alpine3.22
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \

15-3.5/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# NOTE: THIS DOCKERFILE IS GENERATED VIA "make update"! PLEASE DO NOT EDIT IT DIRECTLY.
33
#
4-
ARG BASE_IMAGE=postgres:15-alpine3.21
4+
ARG BASE_IMAGE=postgres:15-alpine3.22
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \

16-3.5/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# NOTE: THIS DOCKERFILE IS GENERATED VIA "make update"! PLEASE DO NOT EDIT IT DIRECTLY.
33
#
4-
ARG BASE_IMAGE=postgres:16-alpine3.21
4+
ARG BASE_IMAGE=postgres:16-alpine3.22
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \

16-master/Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ ENV DOCKER_CMAKE_BUILD_TYPE=${DOCKER_CMAKE_BUILD_TYPE}
8686
# cgal & sfcgal
8787
ARG CGAL_GIT_BRANCH
8888
ENV CGAL_GIT_BRANCH=${CGAL_GIT_BRANCH}
89-
ENV CGAL_GIT_HASH 3610121c03353a9db28d1823685e0331fa0eb01e
90-
ENV SFCGAL_GIT_HASH 908fc727b3cd9c59a9a950e462b8f2cc7f50cbe2
89+
ENV CGAL_GIT_HASH 616ce1b0d7247e0d23ce03b48d51b0317da4589a
90+
ENV SFCGAL_GIT_HASH 75b69839a8022a33ef12fb6d9259582ece16af7b
9191
RUN set -ex \
9292
&& mkdir -p /usr/src \
9393
&& cd /usr/src \
@@ -120,7 +120,7 @@ RUN set -ex \
120120
&& rm -fr /usr/src/cgal
121121

122122
# proj
123-
ENV PROJ_GIT_HASH b2eda4380ba433ca0702131b026309246ee5b5a5
123+
ENV PROJ_GIT_HASH 8879a1aa695c235497c986759f5deb4402ceb21d
124124
RUN set -ex \
125125
&& cd /usr/src \
126126
&& git clone https://github.com/OSGeo/PROJ.git \
@@ -150,7 +150,7 @@ RUN set -ex \
150150
&& rm -fr /usr/src/PROJ
151151

152152
# geos
153-
ENV GEOS_GIT_HASH 31399d845873fa03caee5141f7c355cbd0660c83
153+
ENV GEOS_GIT_HASH b577e3056f5a3ecec7bb1ded2181591a87b06149
154154
RUN set -ex \
155155
&& cd /usr/src \
156156
&& git clone https://github.com/libgeos/geos.git \
@@ -166,7 +166,7 @@ RUN set -ex \
166166
&& rm -fr /usr/src/geos
167167

168168
# gdal
169-
ENV GDAL_GIT_HASH 2f9b255b4c3e200435900c7605a8d42cc59f5f1d
169+
ENV GDAL_GIT_HASH 86a6f174cd2f0df1f4ab1aeaf043057caaf19005
170170
RUN set -ex \
171171
&& cd /usr/src \
172172
&& git clone https://github.com/OSGeo/gdal.git \
@@ -299,11 +299,11 @@ COPY --from=builder /usr/local /usr/local
299299

300300
ARG CGAL_GIT_BRANCH
301301
ENV CGAL_GIT_BRANCH=${CGAL_GIT_BRANCH}
302-
ENV CGAL_GIT_HASH 3610121c03353a9db28d1823685e0331fa0eb01e
303-
ENV SFCGAL_GIT_HASH 908fc727b3cd9c59a9a950e462b8f2cc7f50cbe2
304-
ENV PROJ_GIT_HASH b2eda4380ba433ca0702131b026309246ee5b5a5
305-
ENV GEOS_GIT_HASH 31399d845873fa03caee5141f7c355cbd0660c83
306-
ENV GDAL_GIT_HASH 2f9b255b4c3e200435900c7605a8d42cc59f5f1d
302+
ENV CGAL_GIT_HASH 616ce1b0d7247e0d23ce03b48d51b0317da4589a
303+
ENV SFCGAL_GIT_HASH 75b69839a8022a33ef12fb6d9259582ece16af7b
304+
ENV PROJ_GIT_HASH 8879a1aa695c235497c986759f5deb4402ceb21d
305+
ENV GEOS_GIT_HASH b577e3056f5a3ecec7bb1ded2181591a87b06149
306+
ENV GDAL_GIT_HASH 86a6f174cd2f0df1f4ab1aeaf043057caaf19005
307307

308308
# Minimal command line test ( fail fast )
309309
RUN set -ex \
@@ -322,7 +322,7 @@ RUN set -ex \
322322
|| echo "ogr2ogr missing PostgreSQL driver" && exit 1
323323

324324
# install postgis
325-
ENV POSTGIS_GIT_HASH 81e2bc783b77cc740291445e992658e1db7179e0
325+
ENV POSTGIS_GIT_HASH 2b6933ed2dada900b47458421113c2ff60240311
326326

327327
RUN set -ex \
328328
&& apt-get update \

17-3.5/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# NOTE: THIS DOCKERFILE IS GENERATED VIA "make update"! PLEASE DO NOT EDIT IT DIRECTLY.
33
#
4-
ARG BASE_IMAGE=postgres:17-alpine3.21
4+
ARG BASE_IMAGE=postgres:17-alpine3.22
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \

17-3.6.0alpha1/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# NOTE: THIS DOCKERFILE IS GENERATED VIA "make update"! PLEASE DO NOT EDIT IT DIRECTLY.
33
#
4-
ARG BASE_IMAGE=postgres:17-alpine3.21
4+
ARG BASE_IMAGE=postgres:17-alpine3.22
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \

17-master/Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ ENV DOCKER_CMAKE_BUILD_TYPE=${DOCKER_CMAKE_BUILD_TYPE}
8686
# cgal & sfcgal
8787
ARG CGAL_GIT_BRANCH
8888
ENV CGAL_GIT_BRANCH=${CGAL_GIT_BRANCH}
89-
ENV CGAL_GIT_HASH 3610121c03353a9db28d1823685e0331fa0eb01e
90-
ENV SFCGAL_GIT_HASH 908fc727b3cd9c59a9a950e462b8f2cc7f50cbe2
89+
ENV CGAL_GIT_HASH 616ce1b0d7247e0d23ce03b48d51b0317da4589a
90+
ENV SFCGAL_GIT_HASH 75b69839a8022a33ef12fb6d9259582ece16af7b
9191
RUN set -ex \
9292
&& mkdir -p /usr/src \
9393
&& cd /usr/src \
@@ -120,7 +120,7 @@ RUN set -ex \
120120
&& rm -fr /usr/src/cgal
121121

122122
# proj
123-
ENV PROJ_GIT_HASH b2eda4380ba433ca0702131b026309246ee5b5a5
123+
ENV PROJ_GIT_HASH 8879a1aa695c235497c986759f5deb4402ceb21d
124124
RUN set -ex \
125125
&& cd /usr/src \
126126
&& git clone https://github.com/OSGeo/PROJ.git \
@@ -150,7 +150,7 @@ RUN set -ex \
150150
&& rm -fr /usr/src/PROJ
151151

152152
# geos
153-
ENV GEOS_GIT_HASH 31399d845873fa03caee5141f7c355cbd0660c83
153+
ENV GEOS_GIT_HASH b577e3056f5a3ecec7bb1ded2181591a87b06149
154154
RUN set -ex \
155155
&& cd /usr/src \
156156
&& git clone https://github.com/libgeos/geos.git \
@@ -166,7 +166,7 @@ RUN set -ex \
166166
&& rm -fr /usr/src/geos
167167

168168
# gdal
169-
ENV GDAL_GIT_HASH 2f9b255b4c3e200435900c7605a8d42cc59f5f1d
169+
ENV GDAL_GIT_HASH 86a6f174cd2f0df1f4ab1aeaf043057caaf19005
170170
RUN set -ex \
171171
&& cd /usr/src \
172172
&& git clone https://github.com/OSGeo/gdal.git \
@@ -299,11 +299,11 @@ COPY --from=builder /usr/local /usr/local
299299

300300
ARG CGAL_GIT_BRANCH
301301
ENV CGAL_GIT_BRANCH=${CGAL_GIT_BRANCH}
302-
ENV CGAL_GIT_HASH 3610121c03353a9db28d1823685e0331fa0eb01e
303-
ENV SFCGAL_GIT_HASH 908fc727b3cd9c59a9a950e462b8f2cc7f50cbe2
304-
ENV PROJ_GIT_HASH b2eda4380ba433ca0702131b026309246ee5b5a5
305-
ENV GEOS_GIT_HASH 31399d845873fa03caee5141f7c355cbd0660c83
306-
ENV GDAL_GIT_HASH 2f9b255b4c3e200435900c7605a8d42cc59f5f1d
302+
ENV CGAL_GIT_HASH 616ce1b0d7247e0d23ce03b48d51b0317da4589a
303+
ENV SFCGAL_GIT_HASH 75b69839a8022a33ef12fb6d9259582ece16af7b
304+
ENV PROJ_GIT_HASH 8879a1aa695c235497c986759f5deb4402ceb21d
305+
ENV GEOS_GIT_HASH b577e3056f5a3ecec7bb1ded2181591a87b06149
306+
ENV GDAL_GIT_HASH 86a6f174cd2f0df1f4ab1aeaf043057caaf19005
307307

308308
# Minimal command line test ( fail fast )
309309
RUN set -ex \
@@ -322,7 +322,7 @@ RUN set -ex \
322322
|| echo "ogr2ogr missing PostgreSQL driver" && exit 1
323323

324324
# install postgis
325-
ENV POSTGIS_GIT_HASH 81e2bc783b77cc740291445e992658e1db7179e0
325+
ENV POSTGIS_GIT_HASH 2b6933ed2dada900b47458421113c2ff60240311
326326

327327
RUN set -ex \
328328
&& apt-get update \

Dockerfile.alpine.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %%TXT_AUTOGENERATED%%
33
#
4-
ARG BASE_IMAGE=postgres:%%PG_MAJOR%%-alpine3.21
4+
ARG BASE_IMAGE=postgres:%%PG_MAJOR%%-alpine3.22
55
FROM ${BASE_IMAGE}
66

77
LABEL maintainer="PostGIS Project - https://postgis.net" \

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This image ensures that the default database created by the parent `postgres` im
1818

1919
Unless `-e POSTGRES_DB` is passed to the container at startup time, this database will be named after the admin user (either `postgres` or the user specified with `-e POSTGRES_USER`). If you would prefer to use the older template database mechanism for enabling PostGIS, the image also provides a PostGIS-enabled template database called `template_postgis`.
2020

21-
# Versions (2025-05-22)
21+
# Versions (2025-06-05)
2222

2323
Supported architecture: `amd64` (also known as X86-64)"
2424

@@ -43,16 +43,16 @@ Recommended versions for new users are: `postgis/postgis:17-3.5`, `postgis/postg
4343
### Alpine based
4444

4545
* The base operating system is [Alpine Linux](https://alpinelinux.org/). It is designed to be small, simple, and secure, and it's based on [musl libc](https://musl.libc.org/).
46-
* In the Alpine 3.21 version, the package versions are: geos=3.13, gdal=3.10, proj=9.5, and sfcgal=2.0
46+
* In the Alpine 3.22 version, the package versions are: geos=3.13.1, gdal=3.10.2, proj=9.6.0, and sfcgal=2.0.0
4747
* PostGIS is compiled from source, making it a bit more challenging to extend.
4848

4949
| DockerHub image | Dockerfile | OS | Postgres | PostGIS |
5050
| --------------- | ---------- | -- | -------- | ------- |
51-
| [postgis/postgis:13-3.5-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=13-3.5-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/13-3.5/alpine/Dockerfile) | alpine:3.21 | 13 | 3.5.3 |
52-
| [postgis/postgis:14-3.5-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=14-3.5-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/14-3.5/alpine/Dockerfile) | alpine:3.21 | 14 | 3.5.3 |
53-
| [postgis/postgis:15-3.5-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=15-3.5-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/15-3.5/alpine/Dockerfile) | alpine:3.21 | 15 | 3.5.3 |
54-
| [postgis/postgis:16-3.5-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=16-3.5-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/16-3.5/alpine/Dockerfile) | alpine:3.21 | 16 | 3.5.3 |
55-
| [postgis/postgis:17-3.5-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=17-3.5-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/17-3.5/alpine/Dockerfile) | alpine:3.21 | 17 | 3.5.3 |
51+
| [postgis/postgis:13-3.5-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=13-3.5-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/13-3.5/alpine/Dockerfile) | alpine:3.22 | 13 | 3.5.3 |
52+
| [postgis/postgis:14-3.5-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=14-3.5-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/14-3.5/alpine/Dockerfile) | alpine:3.22 | 14 | 3.5.3 |
53+
| [postgis/postgis:15-3.5-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=15-3.5-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/15-3.5/alpine/Dockerfile) | alpine:3.22 | 15 | 3.5.3 |
54+
| [postgis/postgis:16-3.5-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=16-3.5-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/16-3.5/alpine/Dockerfile) | alpine:3.22 | 16 | 3.5.3 |
55+
| [postgis/postgis:17-3.5-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=17-3.5-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/17-3.5/alpine/Dockerfile) | alpine:3.22 | 17 | 3.5.3 |
5656

5757
### Test images
5858

@@ -62,7 +62,7 @@ Recommended versions for new users are: `postgis/postgis:17-3.5`, `postgis/postg
6262
| DockerHub image | Dockerfile | OS | Postgres | PostGIS |
6363
| --------------- | ---------- | -- | -------- | ------- |
6464
| [postgis/postgis:16-master](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=16-master) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/16-master/Dockerfile) | debian:bullseye | 16 | development: postgis, geos, proj, gdal |
65-
| [postgis/postgis:17-3.6.0alpha1-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=17-3.6.0alpha1-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/17-3.6.0alpha1/alpine/Dockerfile) | alpine:3.21 | 17 | 3.6.0alpha1 |
65+
| [postgis/postgis:17-3.6.0alpha1-alpine](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=17-3.6.0alpha1-alpine) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/17-3.6.0alpha1/alpine/Dockerfile) | alpine:3.22 | 17 | 3.6.0alpha1 |
6666
| [postgis/postgis:17-master](https://registry.hub.docker.com/r/postgis/postgis/tags?page=1&name=17-master) | [Dockerfile](https://github.com/postgis/docker-postgis/blob/master/17-master/Dockerfile) | debian:bullseye | 17 | development: postgis, geos, proj, gdal |
6767

6868
## Usage

update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ githubrepolink="https://github.com/postgis/docker-postgis/blob/master"
2525
# sort version numbers with highest last (so it goes first in .travis.yml)
2626
IFS=$'\n'; versions=( $(echo "${versions[*]}" | sort -V) ); unset IFS
2727

28-
defaultAlpinenSuite='3.21'
28+
defaultAlpinenSuite='3.22'
2929
defaultDebianSuite='bullseye-slim'
3030
declare -A debianSuite=(
3131
# https://github.com/docker-library/postgres/issues/582

0 commit comments

Comments
 (0)