You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo is meant to provide an OCI (Docker) container image that is based on the popular [bitnami/postgresql](https://hub.docker.com/r/bitnami/postgresql) image, that comes preinstalled with the [pg_partman](https://github.com/pgpartman/pg_partman) and [pg_jobmon](https://github.com/omniti-labs/pg_jobmon) PostgreSQL extensions.
3
+
This repo is meant to provide an OCI (Docker) container image that is based on the official [postgres](https://hub.docker.com/_/postgres) image in the alpine variant, that comes preinstalled with the [pg_partman](https://github.com/pgpartman/pg_partman) and [pg_jobmon](https://github.com/omniti-labs/pg_jobmon) PostgreSQL extensions.
4
4
5
5
It pushes a nightly latest image of all tag versions to [ghcr.io](https://github.com/orgs/dbsystel/packages/container/package/postgresql-partman)
6
6
7
7
## Usage
8
8
9
9
```shell
10
10
docker run ghcr.io/dbsystel/postgresql-partman
11
-
docker run ghcr.io/dbsystel/postgresql-partman:{13,14,15,16,17}
12
-
docker run ghcr.io/dbsystel/postgresql-partman:{13-4,14-4,15-4,16-4,17-4}
11
+
docker run ghcr.io/dbsystel/postgresql-partman:{14,15,16,17}
12
+
docker run ghcr.io/dbsystel/postgresql-partman:{14-4,15-4,16-4,17-4}
13
13
docker run ghcr.io/dbsystel/postgresql-partman:{14-5,15-5,16-5,17-5}
14
14
```
15
15
16
16
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.
17
17
18
18
You can find out the actual versions used by looking at the labels of an image.
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.
32
+
33
+
```shell
34
+
./test-build.sh
35
+
```
36
+
37
+
This builds Docker images for all supported PostgreSQL versions with both partman v4 and v5, tagged as `test-partman:{pg_version}-{partman_major}`.
38
+
27
39
## License
28
40
29
41
This project is licensed under the Apache-2.0 license, see [LICENSE](LICENSE).
0 commit comments