Skip to content

[security] Update postgres #18997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025

Conversation

tianon
Copy link
Member

@tianon tianon commented May 8, 2025

Changes:

Changes:

- docker-library/postgres@437897c: Merge pull request docker-library/postgres#1340 from infosiftr/update
- docker-library/postgres@b234702: Remove explicit config.guess/config.sub updates
- docker-library/postgres@2667482: Update to 17.5, 16.9, 15.13, 14.18, 13.21
@tianon tianon requested review from LaurentGoderre and a team as code owners May 8, 2025 18:57
Copy link

github-actions bot commented May 8, 2025

Diff for 669a6cd:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 8b337b7..6acb8d0 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -1,102 +1,102 @@
 Maintainers: Tianon Gravi <[email protected]> (@tianon), Joseph Ferguson <[email protected]> (@yosifkit)
 GitRepo: https://github.com/docker-library/postgres.git
 
-Tags: 13.20, 13, 13.20-bookworm, 13-bookworm
+Tags: 13.21, 13, 13.21-bookworm, 13-bookworm
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: 266748257c85f28eb01a276e84860013ade2eb14
 Directory: 13/bookworm
 
-Tags: 13.20-alpine3.20, 13-alpine3.20
+Tags: 13.21-alpine3.20, 13-alpine3.20
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: b23470265cc9c4bc283a88bf6c5054e3fca87c16
 Directory: 13/alpine3.20
 
-Tags: 13.20-alpine3.21, 13-alpine3.21, 13.20-alpine, 13-alpine
+Tags: 13.21-alpine3.21, 13-alpine3.21, 13.21-alpine, 13-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: b23470265cc9c4bc283a88bf6c5054e3fca87c16
 Directory: 13/alpine3.21
 
-Tags: 13.20-bullseye, 13-bullseye
+Tags: 13.21-bullseye, 13-bullseye
 Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: 266748257c85f28eb01a276e84860013ade2eb14
 Directory: 13/bullseye
 
-Tags: 14.17, 14, 14.17-bookworm, 14-bookworm
+Tags: 14.18, 14, 14.18-bookworm, 14-bookworm
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: 266748257c85f28eb01a276e84860013ade2eb14
 Directory: 14/bookworm
 
-Tags: 14.17-alpine3.20, 14-alpine3.20
+Tags: 14.18-alpine3.20, 14-alpine3.20
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: b23470265cc9c4bc283a88bf6c5054e3fca87c16
 Directory: 14/alpine3.20
 
-Tags: 14.17-alpine3.21, 14-alpine3.21, 14.17-alpine, 14-alpine
+Tags: 14.18-alpine3.21, 14-alpine3.21, 14.18-alpine, 14-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: b23470265cc9c4bc283a88bf6c5054e3fca87c16
 Directory: 14/alpine3.21
 
-Tags: 14.17-bullseye, 14-bullseye
+Tags: 14.18-bullseye, 14-bullseye
 Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: 266748257c85f28eb01a276e84860013ade2eb14
 Directory: 14/bullseye
 
-Tags: 15.12, 15, 15.12-bookworm, 15-bookworm
+Tags: 15.13, 15, 15.13-bookworm, 15-bookworm
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: 266748257c85f28eb01a276e84860013ade2eb14
 Directory: 15/bookworm
 
-Tags: 15.12-alpine3.20, 15-alpine3.20
+Tags: 15.13-alpine3.20, 15-alpine3.20
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: b23470265cc9c4bc283a88bf6c5054e3fca87c16
 Directory: 15/alpine3.20
 
-Tags: 15.12-alpine3.21, 15-alpine3.21, 15.12-alpine, 15-alpine
+Tags: 15.13-alpine3.21, 15-alpine3.21, 15.13-alpine, 15-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: b23470265cc9c4bc283a88bf6c5054e3fca87c16
 Directory: 15/alpine3.21
 
-Tags: 15.12-bullseye, 15-bullseye
+Tags: 15.13-bullseye, 15-bullseye
 Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: 266748257c85f28eb01a276e84860013ade2eb14
 Directory: 15/bullseye
 
-Tags: 16.8, 16, 16.8-bookworm, 16-bookworm
+Tags: 16.9, 16, 16.9-bookworm, 16-bookworm
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: 266748257c85f28eb01a276e84860013ade2eb14
 Directory: 16/bookworm
 
-Tags: 16.8-alpine3.20, 16-alpine3.20
+Tags: 16.9-alpine3.20, 16-alpine3.20
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: b23470265cc9c4bc283a88bf6c5054e3fca87c16
 Directory: 16/alpine3.20
 
-Tags: 16.8-alpine3.21, 16-alpine3.21, 16.8-alpine, 16-alpine
+Tags: 16.9-alpine3.21, 16-alpine3.21, 16.9-alpine, 16-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: b23470265cc9c4bc283a88bf6c5054e3fca87c16
 Directory: 16/alpine3.21
 
-Tags: 16.8-bullseye, 16-bullseye
+Tags: 16.9-bullseye, 16-bullseye
 Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: 266748257c85f28eb01a276e84860013ade2eb14
 Directory: 16/bullseye
 
-Tags: 17.4, 17, latest, 17.4-bookworm, 17-bookworm, bookworm
+Tags: 17.5, 17, latest, 17.5-bookworm, 17-bookworm, bookworm
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: 266748257c85f28eb01a276e84860013ade2eb14
 Directory: 17/bookworm
 
-Tags: 17.4-alpine3.20, 17-alpine3.20, alpine3.20
+Tags: 17.5-alpine3.20, 17-alpine3.20, alpine3.20
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: b23470265cc9c4bc283a88bf6c5054e3fca87c16
 Directory: 17/alpine3.20
 
-Tags: 17.4-alpine3.21, 17-alpine3.21, alpine3.21, 17.4-alpine, 17-alpine, alpine
+Tags: 17.5-alpine3.21, 17-alpine3.21, alpine3.21, 17.5-alpine, 17-alpine, alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: b23470265cc9c4bc283a88bf6c5054e3fca87c16
 Directory: 17/alpine3.21
 
-Tags: 17.4-bullseye, 17-bullseye, bullseye
+Tags: 17.5-bullseye, 17-bullseye, bullseye
 Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: cc254e85ed86e1f8c9052f9cbf0e3320324f0421
+GitCommit: 266748257c85f28eb01a276e84860013ade2eb14
 Directory: 17/bullseye
diff --git a/_bashbrew-list b/_bashbrew-list
index f48a87a..10a8105 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -4,60 +4,60 @@ postgres:13-alpine3.20
 postgres:13-alpine3.21
 postgres:13-bookworm
 postgres:13-bullseye
-postgres:13.20
-postgres:13.20-alpine
-postgres:13.20-alpine3.20
-postgres:13.20-alpine3.21
-postgres:13.20-bookworm
-postgres:13.20-bullseye
+postgres:13.21
+postgres:13.21-alpine
+postgres:13.21-alpine3.20
+postgres:13.21-alpine3.21
+postgres:13.21-bookworm
+postgres:13.21-bullseye
 postgres:14
 postgres:14-alpine
 postgres:14-alpine3.20
 postgres:14-alpine3.21
 postgres:14-bookworm
 postgres:14-bullseye
-postgres:14.17
-postgres:14.17-alpine
-postgres:14.17-alpine3.20
-postgres:14.17-alpine3.21
-postgres:14.17-bookworm
-postgres:14.17-bullseye
+postgres:14.18
+postgres:14.18-alpine
+postgres:14.18-alpine3.20
+postgres:14.18-alpine3.21
+postgres:14.18-bookworm
+postgres:14.18-bullseye
 postgres:15
 postgres:15-alpine
 postgres:15-alpine3.20
 postgres:15-alpine3.21
 postgres:15-bookworm
 postgres:15-bullseye
-postgres:15.12
-postgres:15.12-alpine
-postgres:15.12-alpine3.20
-postgres:15.12-alpine3.21
-postgres:15.12-bookworm
-postgres:15.12-bullseye
+postgres:15.13
+postgres:15.13-alpine
+postgres:15.13-alpine3.20
+postgres:15.13-alpine3.21
+postgres:15.13-bookworm
+postgres:15.13-bullseye
 postgres:16
 postgres:16-alpine
 postgres:16-alpine3.20
 postgres:16-alpine3.21
 postgres:16-bookworm
 postgres:16-bullseye
-postgres:16.8
-postgres:16.8-alpine
-postgres:16.8-alpine3.20
-postgres:16.8-alpine3.21
-postgres:16.8-bookworm
-postgres:16.8-bullseye
+postgres:16.9
+postgres:16.9-alpine
+postgres:16.9-alpine3.20
+postgres:16.9-alpine3.21
+postgres:16.9-bookworm
+postgres:16.9-bullseye
 postgres:17
 postgres:17-alpine
 postgres:17-alpine3.20
 postgres:17-alpine3.21
 postgres:17-bookworm
 postgres:17-bullseye
-postgres:17.4
-postgres:17.4-alpine
-postgres:17.4-alpine3.20
-postgres:17.4-alpine3.21
-postgres:17.4-bookworm
-postgres:17.4-bullseye
+postgres:17.5
+postgres:17.5-alpine
+postgres:17.5-alpine3.20
+postgres:17.5-alpine3.21
+postgres:17.5-bookworm
+postgres:17.5-bullseye
 postgres:alpine
 postgres:alpine3.20
 postgres:alpine3.21
diff --git a/postgres_13-alpine/Dockerfile b/postgres_13-alpine/Dockerfile
index c2fd201..50a4752 100644
--- a/postgres_13-alpine/Dockerfile
+++ b/postgres_13-alpine/Dockerfile
@@ -53,8 +53,8 @@ ENV LANG en_US.utf8
 RUN mkdir /docker-entrypoint-initdb.d
 
 ENV PG_MAJOR 13
-ENV PG_VERSION 13.20
-ENV PG_SHA256 8134b685724d15e60d93bea206fbe0f14c8295e84f1cc91d5a3928163e4fb288
+ENV PG_VERSION 13.21
+ENV PG_SHA256 dcda1294df45f033b0656cf7a8e4afbbc624c25e1b144aec79530f74d7ef4ab4
 
 ENV DOCKER_PG_LLVM_DEPS \
 		llvm19-dev \
@@ -108,9 +108,6 @@ RUN set -eux; \
 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
-# explicitly update autoconf config.guess and config.sub so they support more arches/libcs
-	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \
-	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \
 	\
 # https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
 	export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
diff --git a/postgres_13-alpine3.20/Dockerfile b/postgres_13-alpine3.20/Dockerfile
index 6b90306..a2f5e09 100644
--- a/postgres_13-alpine3.20/Dockerfile
+++ b/postgres_13-alpine3.20/Dockerfile
@@ -53,8 +53,8 @@ ENV LANG en_US.utf8
 RUN mkdir /docker-entrypoint-initdb.d
 
 ENV PG_MAJOR 13
-ENV PG_VERSION 13.20
-ENV PG_SHA256 8134b685724d15e60d93bea206fbe0f14c8295e84f1cc91d5a3928163e4fb288
+ENV PG_VERSION 13.21
+ENV PG_SHA256 dcda1294df45f033b0656cf7a8e4afbbc624c25e1b144aec79530f74d7ef4ab4
 
 ENV DOCKER_PG_LLVM_DEPS \
 		llvm15-dev \
@@ -108,9 +108,6 @@ RUN set -eux; \
 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
-# explicitly update autoconf config.guess and config.sub so they support more arches/libcs
-	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \
-	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \
 	\
 # https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
 	export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; \
diff --git a/postgres_13-bookworm/Dockerfile b/postgres_13-bookworm/Dockerfile
index e19c54c..3dd050a 100644
--- a/postgres_13-bookworm/Dockerfile
+++ b/postgres_13-bookworm/Dockerfile
@@ -89,7 +89,7 @@ RUN set -ex; \
 ENV PG_MAJOR 13
 ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 
-ENV PG_VERSION 13.20-1.pgdg120+1
+ENV PG_VERSION 13.21-1.pgdg120+1
 
 RUN set -ex; \
 	\
@@ -99,7 +99,7 @@ RUN set -ex; \
 	dpkgArch="$(dpkg --print-architecture)"; \
 	aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg main $PG_MAJOR"; \
 	case "$dpkgArch" in \
-		amd64 | arm64 | ppc64el | s390x) \
+		amd64 | arm64 | ppc64el) \
 # arches officialy built by upstream
 			echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; \
 			apt-get update; \
diff --git a/postgres_13-bullseye/Dockerfile b/postgres_13-bullseye/Dockerfile
index fa5bce3..990363d 100644
--- a/postgres_13-bullseye/Dockerfile
+++ b/postgres_13-bullseye/Dockerfile
@@ -89,7 +89,7 @@ RUN set -ex; \
 ENV PG_MAJOR 13
 ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 
-ENV PG_VERSION 13.20-1.pgdg110+1
+ENV PG_VERSION 13.21-1.pgdg110+1
 
 RUN set -ex; \
 	\
@@ -99,7 +99,7 @@ RUN set -ex; \
 	dpkgArch="$(dpkg --print-architecture)"; \
 	aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR"; \
 	case "$dpkgArch" in \
-		amd64 | arm64 | ppc64el | s390x) \
+		amd64 | arm64 | ppc64el) \
 # arches officialy built by upstream
 			echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; \
 			apt-get update; \
diff --git a/postgres_14-alpine/Dockerfile b/postgres_14-alpine/Dockerfile
index e6eaec1..82d8aeb 100644
--- a/postgres_14-alpine/Dockerfile
+++ b/postgres_14-alpine/Dockerfile
@@ -53,8 +53,8 @@ ENV LANG en_US.utf8
 RUN mkdir /docker-entrypoint-initdb.d
 
 ENV PG_MAJOR 14
-ENV PG_VERSION 14.17
-ENV PG_SHA256 6ce0ccd6403bf7f0f2eddd333e2ee9ba02edfa977c66660ed9b4b1057e7630a1
+ENV PG_VERSION 14.18
+ENV PG_SHA256 83ab29d6bfc3dc58b2ed3c664114fdfbeb6a0450c4b8d7fa69aee91e3ca14f8e
 
 ENV DOCKER_PG_LLVM_DEPS \
 		llvm19-dev \
@@ -110,9 +110,6 @@ RUN set -eux; \
 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
-# explicitly update autoconf config.guess and config.sub so they support more arches/libcs
-	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \
-	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \
 	\
 # https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
 	export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
diff --git a/postgres_14-alpine3.20/Dockerfile b/postgres_14-alpine3.20/Dockerfile
index 7a97933..9afc070 100644
--- a/postgres_14-alpine3.20/Dockerfile
+++ b/postgres_14-alpine3.20/Dockerfile
@@ -53,8 +53,8 @@ ENV LANG en_US.utf8
 RUN mkdir /docker-entrypoint-initdb.d
 
 ENV PG_MAJOR 14
-ENV PG_VERSION 14.17
-ENV PG_SHA256 6ce0ccd6403bf7f0f2eddd333e2ee9ba02edfa977c66660ed9b4b1057e7630a1
+ENV PG_VERSION 14.18
+ENV PG_SHA256 83ab29d6bfc3dc58b2ed3c664114fdfbeb6a0450c4b8d7fa69aee91e3ca14f8e
 
 ENV DOCKER_PG_LLVM_DEPS \
 		llvm15-dev \
@@ -110,9 +110,6 @@ RUN set -eux; \
 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
-# explicitly update autoconf config.guess and config.sub so they support more arches/libcs
-	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \
-	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \
 	\
 # https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
 	export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; \
diff --git a/postgres_14-bookworm/Dockerfile b/postgres_14-bookworm/Dockerfile
index e97bad7..701a02c 100644
--- a/postgres_14-bookworm/Dockerfile
+++ b/postgres_14-bookworm/Dockerfile
@@ -89,7 +89,7 @@ RUN set -ex; \
 ENV PG_MAJOR 14
 ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 
-ENV PG_VERSION 14.17-1.pgdg120+1
+ENV PG_VERSION 14.18-1.pgdg120+1
 
 RUN set -ex; \
 	\
@@ -99,7 +99,7 @@ RUN set -ex; \
 	dpkgArch="$(dpkg --print-architecture)"; \
 	aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg main $PG_MAJOR"; \
 	case "$dpkgArch" in \
-		amd64 | arm64 | ppc64el | s390x) \
+		amd64 | arm64 | ppc64el) \
 # arches officialy built by upstream
 			echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; \
 			apt-get update; \
diff --git a/postgres_14-bullseye/Dockerfile b/postgres_14-bullseye/Dockerfile
index b85e3de..004e677 100644
--- a/postgres_14-bullseye/Dockerfile
+++ b/postgres_14-bullseye/Dockerfile
@@ -89,7 +89,7 @@ RUN set -ex; \
 ENV PG_MAJOR 14
 ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 
-ENV PG_VERSION 14.17-1.pgdg110+1
+ENV PG_VERSION 14.18-1.pgdg110+1
 
 RUN set -ex; \
 	\
@@ -99,7 +99,7 @@ RUN set -ex; \
 	dpkgArch="$(dpkg --print-architecture)"; \
 	aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR"; \
 	case "$dpkgArch" in \
-		amd64 | arm64 | ppc64el | s390x) \
+		amd64 | arm64 | ppc64el) \
 # arches officialy built by upstream
 			echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; \
 			apt-get update; \
diff --git a/postgres_15-alpine/Dockerfile b/postgres_15-alpine/Dockerfile
index 48fedb0..203cab4 100644
--- a/postgres_15-alpine/Dockerfile
+++ b/postgres_15-alpine/Dockerfile
@@ -53,8 +53,8 @@ ENV LANG en_US.utf8
 RUN mkdir /docker-entrypoint-initdb.d
 
 ENV PG_MAJOR 15
-ENV PG_VERSION 15.12
-ENV PG_SHA256 3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
+ENV PG_VERSION 15.13
+ENV PG_SHA256 4f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
 
 ENV DOCKER_PG_LLVM_DEPS \
 		llvm19-dev \
@@ -112,9 +112,6 @@ RUN set -eux; \
 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
-# explicitly update autoconf config.guess and config.sub so they support more arches/libcs
-	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \
-	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \
 	\
 # https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
 	export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
diff --git a/postgres_15-alpine3.20/Dockerfile b/postgres_15-alpine3.20/Dockerfile
index 1142617..9fcb077 100644
--- a/postgres_15-alpine3.20/Dockerfile
+++ b/postgres_15-alpine3.20/Dockerfile
@@ -53,8 +53,8 @@ ENV LANG en_US.utf8
 RUN mkdir /docker-entrypoint-initdb.d
 
 ENV PG_MAJOR 15
-ENV PG_VERSION 15.12
-ENV PG_SHA256 3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7
+ENV PG_VERSION 15.13
+ENV PG_SHA256 4f62e133d22ea08a0401b0840920e26698644d01a80c34341fb732dd0a90ca5d
 
 ENV DOCKER_PG_LLVM_DEPS \
 		llvm15-dev \
@@ -112,9 +112,6 @@ RUN set -eux; \
 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
-# explicitly update autoconf config.guess and config.sub so they support more arches/libcs
-	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \
-	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \
 	\
 # https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
 	export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; \
diff --git a/postgres_15-bookworm/Dockerfile b/postgres_15-bookworm/Dockerfile
index dcad929..953f19a 100644
--- a/postgres_15-bookworm/Dockerfile
+++ b/postgres_15-bookworm/Dockerfile
@@ -89,7 +89,7 @@ RUN set -ex; \
 ENV PG_MAJOR 15
 ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 
-ENV PG_VERSION 15.12-1.pgdg120+1
+ENV PG_VERSION 15.13-1.pgdg120+1
 
 RUN set -ex; \
 	\
@@ -99,7 +99,7 @@ RUN set -ex; \
 	dpkgArch="$(dpkg --print-architecture)"; \
 	aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg main $PG_MAJOR"; \
 	case "$dpkgArch" in \
-		amd64 | arm64 | ppc64el | s390x) \
+		amd64 | arm64 | ppc64el) \
 # arches officialy built by upstream
 			echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; \
 			apt-get update; \
diff --git a/postgres_15-bullseye/Dockerfile b/postgres_15-bullseye/Dockerfile
index df8ca09..af49fae 100644
--- a/postgres_15-bullseye/Dockerfile
+++ b/postgres_15-bullseye/Dockerfile
@@ -89,7 +89,7 @@ RUN set -ex; \
 ENV PG_MAJOR 15
 ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 
-ENV PG_VERSION 15.12-1.pgdg110+1
+ENV PG_VERSION 15.13-1.pgdg110+1
 
 RUN set -ex; \
 	\
@@ -99,7 +99,7 @@ RUN set -ex; \
 	dpkgArch="$(dpkg --print-architecture)"; \
 	aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR"; \
 	case "$dpkgArch" in \
-		amd64 | arm64 | ppc64el | s390x) \
+		amd64 | arm64 | ppc64el) \
 # arches officialy built by upstream
 			echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; \
 			apt-get update; \
diff --git a/postgres_16-alpine/Dockerfile b/postgres_16-alpine/Dockerfile
index 2e4b935..21f38d7 100644
--- a/postgres_16-alpine/Dockerfile
+++ b/postgres_16-alpine/Dockerfile
@@ -53,8 +53,8 @@ ENV LANG en_US.utf8
 RUN mkdir /docker-entrypoint-initdb.d
 
 ENV PG_MAJOR 16
-ENV PG_VERSION 16.8
-ENV PG_SHA256 9468083a56ce0ee7d294601b74dad3dd9fc69d87aff61f0a9fb63c813ff7efd8
+ENV PG_VERSION 16.9
+ENV PG_SHA256 07c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
 
 ENV DOCKER_PG_LLVM_DEPS \
 		llvm19-dev \
@@ -112,9 +112,6 @@ RUN set -eux; \
 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
-# explicitly update autoconf config.guess and config.sub so they support more arches/libcs
-	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \
-	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \
 	\
 # https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
 	export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
diff --git a/postgres_16-alpine3.20/Dockerfile b/postgres_16-alpine3.20/Dockerfile
index f4a8eee..6095fa9 100644
--- a/postgres_16-alpine3.20/Dockerfile
+++ b/postgres_16-alpine3.20/Dockerfile
@@ -53,8 +53,8 @@ ENV LANG en_US.utf8
 RUN mkdir /docker-entrypoint-initdb.d
 
 ENV PG_MAJOR 16
-ENV PG_VERSION 16.8
-ENV PG_SHA256 9468083a56ce0ee7d294601b74dad3dd9fc69d87aff61f0a9fb63c813ff7efd8
+ENV PG_VERSION 16.9
+ENV PG_SHA256 07c00fb824df0a0c295f249f44691b86e3266753b380c96f633c3311e10bd005
 
 ENV DOCKER_PG_LLVM_DEPS \
 		llvm15-dev \
@@ -112,9 +112,6 @@ RUN set -eux; \
 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
-# explicitly update autoconf config.guess and config.sub so they support more arches/libcs
-	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \
-	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \
 	\
 # https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
 	export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; \
diff --git a/postgres_16-bookworm/Dockerfile b/postgres_16-bookworm/Dockerfile
index c732ed0..57ce9f7 100644
--- a/postgres_16-bookworm/Dockerfile
+++ b/postgres_16-bookworm/Dockerfile
@@ -89,7 +89,7 @@ RUN set -ex; \
 ENV PG_MAJOR 16
 ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 
-ENV PG_VERSION 16.8-1.pgdg120+1
+ENV PG_VERSION 16.9-1.pgdg120+1
 
 RUN set -ex; \
 	\
@@ -99,7 +99,7 @@ RUN set -ex; \
 	dpkgArch="$(dpkg --print-architecture)"; \
 	aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg main $PG_MAJOR"; \
 	case "$dpkgArch" in \
-		amd64 | arm64 | ppc64el | s390x) \
+		amd64 | arm64 | ppc64el) \
 # arches officialy built by upstream
 			echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; \
 			apt-get update; \
diff --git a/postgres_16-bullseye/Dockerfile b/postgres_16-bullseye/Dockerfile
index ed50274..54f864c 100644
--- a/postgres_16-bullseye/Dockerfile
+++ b/postgres_16-bullseye/Dockerfile
@@ -89,7 +89,7 @@ RUN set -ex; \
 ENV PG_MAJOR 16
 ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 
-ENV PG_VERSION 16.8-1.pgdg110+1
+ENV PG_VERSION 16.9-1.pgdg110+1
 
 RUN set -ex; \
 	\
@@ -99,7 +99,7 @@ RUN set -ex; \
 	dpkgArch="$(dpkg --print-architecture)"; \
 	aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR"; \
 	case "$dpkgArch" in \
-		amd64 | arm64 | ppc64el | s390x) \
+		amd64 | arm64 | ppc64el) \
 # arches officialy built by upstream
 			echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; \
 			apt-get update; \
diff --git a/postgres_alpine/Dockerfile b/postgres_alpine/Dockerfile
index 1b9d0ee..9e4bf20 100644
--- a/postgres_alpine/Dockerfile
+++ b/postgres_alpine/Dockerfile
@@ -52,8 +52,8 @@ ENV LANG en_US.utf8
 RUN mkdir /docker-entrypoint-initdb.d
 
 ENV PG_MAJOR 17
-ENV PG_VERSION 17.4
-ENV PG_SHA256 c4605b73fea11963406699f949b966e5d173a7ee0ccaef8938dec0ca8a995fe7
+ENV PG_VERSION 17.5
+ENV PG_SHA256 fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
 
 ENV DOCKER_PG_LLVM_DEPS \
 		llvm19-dev \
@@ -111,9 +111,6 @@ RUN set -eux; \
 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
-# explicitly update autoconf config.guess and config.sub so they support more arches/libcs
-	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \
-	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \
 	\
 # https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
 	export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; \
diff --git a/postgres_alpine3.20/Dockerfile b/postgres_alpine3.20/Dockerfile
index 2db848e..bcf17f3 100644
--- a/postgres_alpine3.20/Dockerfile
+++ b/postgres_alpine3.20/Dockerfile
@@ -52,8 +52,8 @@ ENV LANG en_US.utf8
 RUN mkdir /docker-entrypoint-initdb.d
 
 ENV PG_MAJOR 17
-ENV PG_VERSION 17.4
-ENV PG_SHA256 c4605b73fea11963406699f949b966e5d173a7ee0ccaef8938dec0ca8a995fe7
+ENV PG_VERSION 17.5
+ENV PG_SHA256 fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8
 
 ENV DOCKER_PG_LLVM_DEPS \
 		llvm15-dev \
@@ -111,9 +111,6 @@ RUN set -eux; \
 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; \
 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; \
 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
-# explicitly update autoconf config.guess and config.sub so they support more arches/libcs
-	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; \
-	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; \
 	\
 # https://git.alpinelinux.org/aports/tree/community/postgresql15/APKBUILD?h=3.21-stable&id=40544ade947bec1798edb0f749f4e967e842624b#n172
 	export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; \
diff --git a/postgres_bookworm/Dockerfile b/postgres_bookworm/Dockerfile
index fbc15ef..eca1c04 100644
--- a/postgres_bookworm/Dockerfile
+++ b/postgres_bookworm/Dockerfile
@@ -89,7 +89,7 @@ RUN set -ex; \
 ENV PG_MAJOR 17
 ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 
-ENV PG_VERSION 17.4-1.pgdg120+2
+ENV PG_VERSION 17.5-1.pgdg120+1
 
 RUN set -ex; \
 	\
@@ -99,7 +99,7 @@ RUN set -ex; \
 	dpkgArch="$(dpkg --print-architecture)"; \
 	aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg main $PG_MAJOR"; \
 	case "$dpkgArch" in \
-		amd64 | arm64 | ppc64el | s390x) \
+		amd64 | arm64 | ppc64el) \
 # arches officialy built by upstream
 			echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; \
 			apt-get update; \
diff --git a/postgres_bullseye/Dockerfile b/postgres_bullseye/Dockerfile
index 263bb9f..90b92bb 100644
--- a/postgres_bullseye/Dockerfile
+++ b/postgres_bullseye/Dockerfile
@@ -89,7 +89,7 @@ RUN set -ex; \
 ENV PG_MAJOR 17
 ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 
-ENV PG_VERSION 17.4-1.pgdg110+2
+ENV PG_VERSION 17.5-1.pgdg110+1
 
 RUN set -ex; \
 	\
@@ -99,7 +99,7 @@ RUN set -ex; \
 	dpkgArch="$(dpkg --print-architecture)"; \
 	aptRepo="[ signed-by=/usr/local/share/keyrings/postgres.gpg.asc ] http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR"; \
 	case "$dpkgArch" in \
-		amd64 | arm64 | ppc64el | s390x) \
+		amd64 | arm64 | ppc64el) \
 # arches officialy built by upstream
 			echo "deb $aptRepo" > /etc/apt/sources.list.d/pgdg.list; \
 			apt-get update; \

Relevant Maintainers:

@yosifkit yosifkit merged commit 72749cb into docker-library:master May 8, 2025
25 checks passed
@yosifkit yosifkit deleted the postgres branch May 8, 2025 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants