cnpg-vchord (18.6-1.1.1)

Published 2026-08-14 08:01:48 +02:00 by webmatix in webmatix/homelab

Installation

docker pull git.webmatix.dev/webmatix/cnpg-vchord:18.6-1.1.1
sha256:c4365892505b67c6e929b35750ebba6fef1e2c32bd68b853a374754798176f48

About this package

A system PostgreSQL 18.6 container image

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1785715200'
ARG PG_VERSION=18.6
ARG PG_MAJOR=18
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/18/bin
RUN |2 PG_VERSION=18.6 PG_MAJOR=18 /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=18.6 PG_MAJOR=18 /bin/sh -c usermod -u 26 postgres # buildkit
USER 26
ARG EXTENSIONS=postgresql-18-pgaudit postgresql-18-pgvector postgresql-18-pg-failover-slots
ARG STANDARD_ADDITIONAL_POSTGRES_PACKAGES=postgresql-18-jit
USER root
RUN |4 PG_VERSION=18.6 PG_MAJOR=18 EXTENSIONS=postgresql-18-pgaudit postgresql-18-pgvector postgresql-18-pg-failover-slots STANDARD_ADDITIONAL_POSTGRES_PACKAGES=postgresql-18-jit /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.19.1
ENV PIP_BREAK_SYSTEM_PACKAGES=1
USER root
RUN |5 PG_VERSION=18.6 PG_MAJOR=18 EXTENSIONS=postgresql-18-pgaudit postgresql-18-pgvector postgresql-18-pg-failover-slots STANDARD_ADDITIONAL_POSTGRES_PACKAGES=postgresql-18-jit BARMAN_VERSION=3.19.1 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends build-essential python3-dev python3-pip python3-psycopg2 && pip3 install --no-cache-dir barman[cloud,azure,snappy,google,zstandard,lz4]==${BARMAN_VERSION} && python3 -c "import sysconfig, compileall; compileall.compile_dir(sysconfig.get_path('stdlib'), quiet=1); compileall.compile_dir(sysconfig.get_path('purelib'), quiet=1); compileall.compile_dir(sysconfig.get_path('platlib'), quiet=1)" && 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
ARG CNPG_TAG=18.6-system-bookworm
ARG CNPG_VERSION=18
ARG VECTORCHORD_TAG=1.1.1
ARG TARGETARCH=amd64
USER root
ADD https://github.com/supervc-stack/VectorChord/releases/download/1.1.1/postgresql-18-vchord_1.1.1-1_amd64.deb /tmp/vchord.deb # buildkit
RUN |4 CNPG_TAG=18.6-system-bookworm CNPG_VERSION=18 VECTORCHORD_TAG=1.1.1 TARGETARCH=amd64 /bin/sh -c apt-get install -y /tmp/vchord.deb && rm -f /tmp/vchord.deb # buildkit
USER postgres

Labels

Key Value
org.opencontainers.image.authors The CloudNativePG Contributors
org.opencontainers.image.base.digest sha256:abd67ffcfa541b485a3dff59865ab629aa048a6c613e639d36e7456b0b229241
org.opencontainers.image.base.name docker.io/library/debian:bookworm-slim
org.opencontainers.image.created 2026-08-13T15:13:45Z
org.opencontainers.image.description A system PostgreSQL 18.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 27283585cf4ee90ce6224de83eaee5b13168b7d6
org.opencontainers.image.source https://github.com/cloudnative-pg/postgres-containers
org.opencontainers.image.title CloudNativePG PostgreSQL 18.6 system
org.opencontainers.image.url https://github.com/cloudnative-pg/postgres-containers
org.opencontainers.image.vendor The CloudNativePG Contributors
org.opencontainers.image.version 18.6
Details
Container
2026-08-14 08:01:48 +02:00
2
OCI / Docker
linux/amd64
The CloudNativePG Contributors
Apache-2.0
264 MiB
Versions (2) View all
18.6-1.1.1 2026-08-14
18.6 2026-08-14