cloudnative-pg/postgresql (17.6)
Published 2026-10-08 19:15:07 +00:00 by moeardent
Installation
docker pull scm.moebiusol.eu/moebiusol/cloudnative-pg/postgresql:17.6sha256:01983002a75bff7562be6f0e36f8afa89d8386b723eb6e4576443bf59f5bf81eAbout this package
A system PostgreSQL 17.6 container image
Image layers
| # debian.sh --arch 'amd64' out/ 'bullseye' '@1762202650' |
| ARG PG_VERSION=17.6 |
| ARG PG_MAJOR=17 |
| ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/17/bin |
| RUN |2 PG_VERSION=17.6 PG_MAJOR=17 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends postgresql-common ca-certificates gnupg && /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y -c "${PG_MAJOR}" && apt-get install -y --no-install-recommends -o Dpkg::::="--force-confdef" -o Dpkg::::="--force-confold" postgresql-common && sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf && apt-get install -y --no-install-recommends libsasl2-modules libldap-common -o Dpkg::::="--force-confdef" -o Dpkg::::="--force-confold" "postgresql-${PG_MAJOR}=${PG_VERSION}*" && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/* # buildkit |
| RUN |2 PG_VERSION=17.6 PG_MAJOR=17 /bin/sh -c usermod -u 26 postgres # buildkit |
| USER 26 |
| ARG EXTENSIONS=postgresql-17-pgaudit postgresql-17-pgvector postgresql-17-pg-failover-slots |
| ARG STANDARD_ADDITIONAL_POSTGRES_PACKAGES= |
| USER root |
| RUN |4 PG_VERSION=17.6 PG_MAJOR=17 EXTENSIONS=postgresql-17-pgaudit postgresql-17-pgvector postgresql-17-pg-failover-slots STANDARD_ADDITIONAL_POSTGRES_PACKAGES= /bin/sh -c apt-get update && apt-get install -y --no-install-recommends locales-all ${STANDARD_ADDITIONAL_POSTGRES_PACKAGES} ${EXTENSIONS} && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/* # buildkit |
| USER 26 |
| ARG BARMAN_VERSION=3.16.2 |
| ENV PIP_BREAK_SYSTEM_PACKAGES=1 |
| USER root |
| RUN |5 PG_VERSION=17.6 PG_MAJOR=17 EXTENSIONS=postgresql-17-pgaudit postgresql-17-pgvector postgresql-17-pg-failover-slots STANDARD_ADDITIONAL_POSTGRES_PACKAGES= BARMAN_VERSION=3.16.2 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends build-essential python3-dev python3-pip python3-psycopg2 python3-setuptools && pip3 install --no-cache-dir barman[cloud,azure,snappy,google,zstandard,lz4]==${BARMAN_VERSION} && apt-get remove -y --purge --autoremove build-essential python3-dev && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/* # buildkit |
| USER 26 |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.authors | The CloudNativePG Contributors |
| org.opencontainers.image.base.digest | sha256:75e0b7a6158b4cc911d4be07d9f6b8a65254eb8c58df14023c3da5c462335593 |
| org.opencontainers.image.base.name | docker.io/library/debian:bullseye-slim |
| org.opencontainers.image.created | 2025-11-10T08:07:14Z |
| org.opencontainers.image.description | A system PostgreSQL 17.6 container image |
| org.opencontainers.image.documentation | https://github.com/cloudnative-pg/postgres-containers |
| org.opencontainers.image.licenses | Apache-2.0 |
| org.opencontainers.image.revision | ad091f4dd45ce5496da3b083dc13109fa310f57a |
| org.opencontainers.image.source | https://github.com/cloudnative-pg/postgres-containers |
| org.opencontainers.image.title | CloudNativePG PostgreSQL 17.6 system |
| org.opencontainers.image.url | https://github.com/cloudnative-pg/postgres-containers |
| org.opencontainers.image.vendor | The CloudNativePG Contributors |
| org.opencontainers.image.version | 17.6 |