cnpg_cron (18.4)

Published 2026-07-25 10:21:24 +00:00 by barbirict in barbirict/cnpg_cron

Installation

docker pull git.barbiric.io/barbirict/cnpg_cron:18.4
sha256:eaf0ab6699706c99c63c514120c2c998cc262f3e64a2cad307fa857bdd0791c4

About this package

A system PostgreSQL 18.4 container image

Image Layers

# debian.sh --arch 'amd64' out/ 'bullseye' '@1783900800'
ARG PG_VERSION=18.4
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.4 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.4 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.4 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.4 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
USER root
RUN /bin/sh -c apt-get update && apt-get install -y postgresql-18-cron # buildkit
USER postgres

Labels

Key Value
org.opencontainers.image.authors The CloudNativePG Contributors
org.opencontainers.image.base.digest sha256:cba95a21c96c1f5fc2470081829363eed57706634f7dc26e8c6712934303d57a
org.opencontainers.image.base.name docker.io/library/debian:bullseye-slim
org.opencontainers.image.created 2026-07-20T09:05:04Z
org.opencontainers.image.description A system PostgreSQL 18.4 container image
org.opencontainers.image.documentation https://github.com/cloudnative-pg/postgres-containers
org.opencontainers.image.licenses Apache-2.0
org.opencontainers.image.revision cafa45084fa972bad808ca156cdb52dd29f75bee
org.opencontainers.image.source https://github.com/cloudnative-pg/postgres-containers
org.opencontainers.image.title CloudNativePG PostgreSQL 18.4 system
org.opencontainers.image.url https://github.com/cloudnative-pg/postgres-containers
org.opencontainers.image.vendor The CloudNativePG Contributors
org.opencontainers.image.version 18.4
Details
Container
2026-07-25 10:21:24 +00:00
5
OCI / Docker
linux/amd64
The CloudNativePG Contributors
Apache-2.0
257 MiB
Versions (1) View all
18.4 2026-07-25