The base image has been switched from Bitnami to the official postgres image. This may affect existing workflows, configurations, and environment variables. Support for PostgreSQL 13 has also been dropped. For more information, see Pull Request #32.
This repo is meant to provide an OCI (Docker) container image that is based on the official postgres image in the alpine variant, that comes preinstalled with the pg_partman and pg_jobmon PostgreSQL extensions.
It pushes a nightly latest image of all tag versions to ghcr.io
docker run ghcr.io/dbsystel/postgresql-partman
docker run ghcr.io/dbsystel/postgresql-partman:{14,15,16,17}
docker run ghcr.io/dbsystel/postgresql-partman:{14-4,15-4,16-4,17-4}
docker run ghcr.io/dbsystel/postgresql-partman:{14-5,15-5,16-5,17-5}
The first part of the tag represents the PostgreSQL major version, the second part represents the partman major version. If you leave out the second part, you will get the default version of partman as specified by this repository. Be aware, that this can change without notice.
You can find out the actual versions used by looking at the labels of an image.
docker inspect ghcr.io/dbsystel/postgresql-partman:17
"de.dbsystel.partman-version" : "v5.2.4",
"de.dbsystel.postgres-version" : "17",
The test-build.sh
script builds all PostgreSQL and partman version combinations locally for testing purposes. It extracts version information from the GitHub workflow to ensure consistency.
./test-build.sh
This builds Docker images for all supported PostgreSQL versions with both partman v4 and v5, tagged as test-partman:{pg_version}-{partman_major}
.
This project is licensed under the Apache-2.0 license, see LICENSE.