Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgresql: [ "12", "13", "14", "15", "16", "17", "18" ]
postgresql: [ "14", "15", "16", "17", "18" ]
runs-on: ubuntu-latest
steps:
-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgresql: [ "12", "13", "14", "15", "16", "17", "18" ]
postgresql: [ "14", "15", "16", "17", "18" ]
runs-on: ubuntu-latest
steps:
-
Expand Down
1 change: 0 additions & 1 deletion 12/ALPINE_EDITION

This file was deleted.

22 changes: 0 additions & 22 deletions 12/Dockerfile

This file was deleted.

1 change: 0 additions & 1 deletion 12/overlay/tmp/POSTGRESQL_BUILD

This file was deleted.

1 change: 0 additions & 1 deletion 12/overlay/tmp/POSTGRESQL_MINOR

This file was deleted.

1 change: 0 additions & 1 deletion 13/ALPINE_EDITION

This file was deleted.

22 changes: 0 additions & 22 deletions 13/Dockerfile

This file was deleted.

1 change: 0 additions & 1 deletion 13/overlay/tmp/POSTGRESQL_BUILD

This file was deleted.

1 change: 0 additions & 1 deletion 13/overlay/tmp/POSTGRESQL_MINOR

This file was deleted.

2 changes: 1 addition & 1 deletion 14/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.20-6.7.2
FROM quay.io/bfren/alpine-s6:alpine3.20-6.7.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql"

Expand Down
2 changes: 1 addition & 1 deletion 15/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.22-6.7.2
FROM quay.io/bfren/alpine-s6:alpine3.22-6.7.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql"

Expand Down
2 changes: 1 addition & 1 deletion 16/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.24-6.7.2
FROM quay.io/bfren/alpine-s6:alpine3.24-6.7.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql"

Expand Down
2 changes: 1 addition & 1 deletion 17/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.24-6.7.2
FROM quay.io/bfren/alpine-s6:alpine3.24-6.7.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql"

Expand Down
2 changes: 1 addition & 1 deletion 18/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.24-6.7.2
FROM quay.io/bfren/alpine-s6:alpine3.24-6.7.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql"

Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ docker compose exec db pg psql myapp # in the myapp database

## Features

* 🐘 PostgreSQL 12 to 18 - choose with the image tag
* 🐘 PostgreSQL 14 to 18 - choose with the image tag
* 🚀 User and database(s) created on first start, as a UTF-8 cluster
* 💾 Every database backed up every eight hours, optionally compressed, with old backups deleted automatically
* ♻️ Restore a backup with one command - or by leaving it in `/backup` before the container starts
Expand Down Expand Up @@ -71,8 +71,6 @@ Images are published to Docker Hub (`bfren/postgresql`) and Quay.io (`quay.io/bf
| 16 | 16.15 | 3.24 | November 2028 |
| 15 | 15.19 | 3.22 | November 2027 |
| 14 | 14.17 | 3.20 | November 2026 |
| 13 | 13.20 | 3.19 | ended |
| 12 | 12.20 | 3.18 | ended |

PostgreSQL supports each major version for five years - see the [versioning policy](https://www.postgresql.org/support/versioning/). Older versions still work, but get no more fixes: use them only to get existing data out.

Expand Down Expand Up @@ -190,7 +188,7 @@ The health check (inherited from the base image: every 30 seconds) connects as t
./generate-dockerfiles.sh # regenerates the Dockerfiles from Dockerfile.esh
```

`/test` runs this image's tests alongside the base images' tests: credentials, creating the cluster, user and databases, version checks, backups (including compression and expiry), restore, export and import - using a stub `pg` command, so no server is needed - and the installed commands and configuration. Run it on an old and a new version, e.g. `./test.nu 12` and `./test.nu 18`.
`/test` runs this image's tests alongside the base images' tests: credentials, creating the cluster, user and databases, version checks, backups (including compression and expiry), restore, export and import - using a stub `pg` command, so no server is needed - and the installed commands and configuration. Run it on an old and a new version, e.g. `./test.nu 14` and `./test.nu 18`.

## Troubleshooting

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3.3
5.0.0
2 changes: 1 addition & 1 deletion VERSION_MAJOR
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4
5
2 changes: 1 addition & 1 deletion VERSION_MINOR
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3
5.0
4 changes: 2 additions & 2 deletions generate-dockerfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -euo pipefail

docker pull bfren/alpine

BASE_VERSION="6.7.2"
BASE_VERSION="6.7.3"
echo "Base: ${BASE_VERSION}"

POSTGRESQL_VERSIONS="12 13 14 15 16 17 18"
POSTGRESQL_VERSIONS="14 15 16 17 18"
for V in ${POSTGRESQL_VERSIONS} ; do

echo "PostgreSQL ${V}"
Expand Down
2 changes: 0 additions & 2 deletions test.nu
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
use ../index/test.nu

const postgresql_branches = [
"12"
"13"
"14"
"15"
"16"
Expand Down
Loading