From b61c04e10c9c5a5be2ee09fefc3048d138a08137 Mon Sep 17 00:00:00 2001 From: bfren Date: Thu, 3 Dec 2026 17:39:06 +0000 Subject: [PATCH 1/5] Bumping version to 6.0.4 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 39c5d6a..b1a3205 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.0.3 \ No newline at end of file +6.0.4 \ No newline at end of file From bf4652d732ee5edab879330bbbdc111b5faed749 Mon Sep 17 00:00:00 2001 From: bfren Date: Thu, 3 Dec 2026 17:39:22 +0000 Subject: [PATCH 2/5] Using latest base images --- 14/Dockerfile | 2 +- 15/Dockerfile | 2 +- 16/Dockerfile | 2 +- 17/Dockerfile | 2 +- 18/Dockerfile | 2 +- generate-dockerfiles.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/14/Dockerfile b/14/Dockerfile index c8be7b0..266a4c3 100644 --- a/14/Dockerfile +++ b/14/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.3 +FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.4 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql" diff --git a/15/Dockerfile b/15/Dockerfile index 55f6cfd..2860570 100644 --- a/15/Dockerfile +++ b/15/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.3 +FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.4 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql" diff --git a/16/Dockerfile b/16/Dockerfile index cce36f8..9244bfa 100644 --- a/16/Dockerfile +++ b/16/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.3 +FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.4 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql" diff --git a/17/Dockerfile b/17/Dockerfile index 8fff5f5..f0d974d 100644 --- a/17/Dockerfile +++ b/17/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.3 +FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.4 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql" diff --git a/18/Dockerfile b/18/Dockerfile index f44deb5..0f21255 100644 --- a/18/Dockerfile +++ b/18/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.3 +FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.4 LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql" diff --git a/generate-dockerfiles.sh b/generate-dockerfiles.sh index 6dd3261..baf246a 100755 --- a/generate-dockerfiles.sh +++ b/generate-dockerfiles.sh @@ -4,7 +4,7 @@ set -euo pipefail docker pull bfren/alpine -BASE_VERSION="7.0.3" +BASE_VERSION="7.0.4" echo "Base: ${BASE_VERSION}" POSTGRESQL_VERSIONS="14 15 16 17 18" From 15c7b2f2823391c77307019e901109a02afd4a18 Mon Sep 17 00:00:00 2001 From: bfren Date: Thu, 3 Dec 2026 17:40:59 +0000 Subject: [PATCH 3/5] Adding PostgreSQL 19 --- .github/workflows/build.yml | 1 + 19/Dockerfile | 22 ++++++++++++++++++++++ 19/overlay/tmp/POSTGRESQL_BUILD | 1 + 19/overlay/tmp/POSTGRESQL_MINOR | 1 + generate-dockerfiles.sh | 2 +- 5 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 19/Dockerfile create mode 100644 19/overlay/tmp/POSTGRESQL_BUILD create mode 100644 19/overlay/tmp/POSTGRESQL_MINOR diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ebb53e..4754b00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,7 @@ jobs: 16 17 18 + 19 platforms: | linux/amd64 linux/arm/v7 diff --git a/19/Dockerfile b/19/Dockerfile new file mode 100644 index 0000000..eecf5f9 --- /dev/null +++ b/19/Dockerfile @@ -0,0 +1,22 @@ +FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.4 + +LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql" + +ARG BF_IMAGE +ARG BF_PUBLISHING +ARG BF_VERSION + +EXPOSE 5432 + +COPY ./overlay / +COPY ./19/overlay / + +ENV \ + # set to "1" to compress backup sql files + BF_PG_BACKUP_COMPRESS_FILES="0" \ + # the duration for which backups will be kept + BF_PG_BACKUP_KEEP_FOR="28day" + +RUN bf-install + +VOLUME [ "/backup", "/data" ] diff --git a/19/overlay/tmp/POSTGRESQL_BUILD b/19/overlay/tmp/POSTGRESQL_BUILD new file mode 100644 index 0000000..664af14 --- /dev/null +++ b/19/overlay/tmp/POSTGRESQL_BUILD @@ -0,0 +1 @@ +19.0-r1 \ No newline at end of file diff --git a/19/overlay/tmp/POSTGRESQL_MINOR b/19/overlay/tmp/POSTGRESQL_MINOR new file mode 100644 index 0000000..0c48b6c --- /dev/null +++ b/19/overlay/tmp/POSTGRESQL_MINOR @@ -0,0 +1 @@ +19.0 \ No newline at end of file diff --git a/generate-dockerfiles.sh b/generate-dockerfiles.sh index baf246a..d4f1511 100755 --- a/generate-dockerfiles.sh +++ b/generate-dockerfiles.sh @@ -7,7 +7,7 @@ docker pull bfren/alpine BASE_VERSION="7.0.4" echo "Base: ${BASE_VERSION}" -POSTGRESQL_VERSIONS="14 15 16 17 18" +POSTGRESQL_VERSIONS="14 15 16 17 18 19" for V in ${POSTGRESQL_VERSIONS} ; do echo "PostgreSQL ${V}" From 4697ceff4cad73fe8f1df8125491afb5ee015f21 Mon Sep 17 00:00:00 2001 From: bfren Date: Thu, 3 Dec 2026 19:06:40 +0000 Subject: [PATCH 4/5] Removing PostgreSQL 19 (for Alpine 3.25) --- .github/workflows/build.yml | 1 - 19/Dockerfile | 22 ---------------------- 19/overlay/tmp/POSTGRESQL_BUILD | 1 - 19/overlay/tmp/POSTGRESQL_MINOR | 1 - generate-dockerfiles.sh | 2 +- 5 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 19/Dockerfile delete mode 100644 19/overlay/tmp/POSTGRESQL_BUILD delete mode 100644 19/overlay/tmp/POSTGRESQL_MINOR diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4754b00..4ebb53e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,6 @@ jobs: 16 17 18 - 19 platforms: | linux/amd64 linux/arm/v7 diff --git a/19/Dockerfile b/19/Dockerfile deleted file mode 100644 index eecf5f9..0000000 --- a/19/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.4 - -LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql" - -ARG BF_IMAGE -ARG BF_PUBLISHING -ARG BF_VERSION - -EXPOSE 5432 - -COPY ./overlay / -COPY ./19/overlay / - -ENV \ - # set to "1" to compress backup sql files - BF_PG_BACKUP_COMPRESS_FILES="0" \ - # the duration for which backups will be kept - BF_PG_BACKUP_KEEP_FOR="28day" - -RUN bf-install - -VOLUME [ "/backup", "/data" ] diff --git a/19/overlay/tmp/POSTGRESQL_BUILD b/19/overlay/tmp/POSTGRESQL_BUILD deleted file mode 100644 index 664af14..0000000 --- a/19/overlay/tmp/POSTGRESQL_BUILD +++ /dev/null @@ -1 +0,0 @@ -19.0-r1 \ No newline at end of file diff --git a/19/overlay/tmp/POSTGRESQL_MINOR b/19/overlay/tmp/POSTGRESQL_MINOR deleted file mode 100644 index 0c48b6c..0000000 --- a/19/overlay/tmp/POSTGRESQL_MINOR +++ /dev/null @@ -1 +0,0 @@ -19.0 \ No newline at end of file diff --git a/generate-dockerfiles.sh b/generate-dockerfiles.sh index d4f1511..baf246a 100755 --- a/generate-dockerfiles.sh +++ b/generate-dockerfiles.sh @@ -7,7 +7,7 @@ docker pull bfren/alpine BASE_VERSION="7.0.4" echo "Base: ${BASE_VERSION}" -POSTGRESQL_VERSIONS="14 15 16 17 18 19" +POSTGRESQL_VERSIONS="14 15 16 17 18" for V in ${POSTGRESQL_VERSIONS} ; do echo "PostgreSQL ${V}" From f7854db9e446ae6b5f3316e71901c4c5b28aff34 Mon Sep 17 00:00:00 2001 From: bfren Date: Thu, 3 Dec 2026 19:07:30 +0000 Subject: [PATCH 5/5] Prepping for release Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af071cb..5131f9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [6.0.4] - 2026-12-03 + +### Changed + +- Base image updated to `bfren/alpine-s6` [7.0.4](https://github.com/bfren/docker-alpine-s6/blob/v7.0.4/CHANGELOG.md), + which adds `bf pkg install --fallback-revision` and `bf pkg installed`. + ## [6.0.3] - 2026-11-25 ### Changed @@ -59,6 +66,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 that much memory to back up. - `pg-export dump` is refused - `/backup/dump.sql` would replace the whole cluster on the next start. +[6.0.4]: https://github.com/bfren/docker-postgresql/compare/v6.0.3...v6.0.4 [6.0.3]: https://github.com/bfren/docker-postgresql/compare/v6.0.2...v6.0.3 [6.0.2]: https://github.com/bfren/docker-postgresql/compare/v6.0.1...v6.0.2 [6.0.1]: https://github.com/bfren/docker-postgresql/compare/v6.0.0...v6.0.1 diff --git a/README.md b/README.md index 9702669..39a298c 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,9 @@ Images are published to Docker Hub (`bfren/postgresql`) and Quay.io (`quay.io/bf | `postgresqlN` | `postgresql18` | You want the latest image for a PostgreSQL version | | `postgresqlN-MAJOR` | `postgresql18-6` | You want updates, but not breaking changes | | `postgresqlN-MINOR` | `postgresql18-6.0` | You want fixes only - **recommended** | -| `postgresqlN-VERSION` | `postgresql18-6.0.3` | You want to pin this image exactly | +| `postgresqlN-VERSION` | `postgresql18-6.0.4` | You want to pin this image exactly | | `postgresqlN.M` | `postgresql18.7` | You want an exact PostgreSQL release | -| `postgresqlN.M-VERSION` | `postgresql18.7-6.0.3` | You want to pin both | +| `postgresqlN.M-VERSION` | `postgresql18.7-6.0.4` | You want to pin both | A new `MAJOR` version means a breaking change. Before moving to one, read the [changelog](CHANGELOG.md), where each breaking change is marked **Breaking**.