Skip to content

Operand images for CloudNativePG containing all community supported version PostgreSQL

License

Notifications You must be signed in to change notification settings

cloudnative-pg/postgres-containers

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e62a482 · Jan 13, 2025
Jan 13, 2025
Jan 13, 2025
Dec 19, 2024
Jun 6, 2022
Apr 14, 2022
Apr 14, 2022
Jan 13, 2025
Apr 14, 2022
Apr 14, 2022
Jan 13, 2025
Jan 13, 2025

Repository files navigation

PostgreSQL Container Images

Maintenance scripts to generate Immutable Application Containers for all available PostgreSQL versions (13 to 17) to be used as operands with the CloudNativePG operator for Kubernetes.

Images

We build three types of images:

Switching from system images to minimal or standard images on an existing cluster is not currently supported.

Minimal and standard images are supposed to be used alongside a backup plugin like Barman Cloud.

Images are available via GitHub Container Registry.

Currently, images are automatically rebuilt once a week (Monday).

System

These images are built on top of the Official Postgres image maintained by the PostgreSQL Docker Community, by adding the following software:

  • Barman Cloud
  • PGAudit
  • Postgres Failover Slots
  • pgvector

Minimal

These images are build on top of official Debian images by installing PostgreSQL.

Minimal images include minimal in the tag name, e.g. 17.2-standard-bookworm.

Standard

These images are build on top of the minimal images by adding the following software:

  • PGAudit
  • Postgres Failover Slots
  • pgvector

and all the locales.

Standard images include standard in the tag name, e.g. 17.2-standard-bookworm.

SBOMs

Software Bills of Materials (SBOMs) are available for minimal and standard images. The SBOM for an image can be retrieved with the following command:

docker buildx imagetools inspect <IMAGE> --format "{{ json .SBOM.SPDX}}"

Testing image builds

Minimal and standard image builds can be tested running bake manually. You will need a container registry and a builder with the docker-container driver.

registry=<REGISTRY_URL> docker buildx bake --builder <BUILDER> --push

License and copyright

This software is available under Apache License 2.0.

Copyright The CloudNativePG Contributors.

Barman Cloud is distributed by EnterpriseDB under the GNU GPL 3 License.

PGAudit is distributed under the PostgreSQL License.

Postgres Failover Slots is distributed by EnterpriseDB under the PostgreSQL License.

pgvector is distributed under the PostgreSQL License.

Trademarks

Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.