cnpg-timescale (18-2.25.1)
Published 2026-09-19 15:52:32 +00:00 by toasterson
Installation
docker pull code.aopc.cloud/toasterson/cnpg-timescale:18-2.25.1sha256:37bac05c10247a100757fa07b05511cb5c4546b638ef57752860dff8688ebf06About this package
A system PostgreSQL 18.3 container image
Image layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1776729600' |
| ARG PG_VERSION=18.3 |
| 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.3 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.3 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.3 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.18.0 |
| ENV PIP_BREAK_SYSTEM_PACKAGES=1 |
| USER root |
| RUN |5 PG_VERSION=18.3 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.18.0 /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} && 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 PG_MAJOR=18 |
| ARG TIMESCALE_VERSION=2.25.1 |
| ARG TARGETPLATFORM=linux/amd64 |
| USER root |
| RUN |3 PG_MAJOR=18 TIMESCALE_VERSION=2.25.1 TARGETPLATFORM=linux/amd64 /bin/sh -c rm -f /etc/apt/apt.conf.d/docker-clean && echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-debs # buildkit |
| RUN |3 PG_MAJOR=18 TIMESCALE_VERSION=2.25.1 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg lsb-release; install -d -m 0755 /usr/share/keyrings; curl -fsSL https://packagecloud.io/timescale/timescaledb/gpgkey | gpg --dearmor -o /usr/share/keyrings/timescaledb.gpg; echo "deb [signed-by=/usr/share/keyrings/timescaledb.gpg] https://packagecloud.io/timescale/timescaledb/debian/ $(lsb_release -c -s) main" > /etc/apt/sources.list.d/timescaledb.list; apt-get update; apt-get install -y --no-install-recommends "timescaledb-2-postgresql-${PG_MAJOR}=${TIMESCALE_VERSION}~debian13*" "timescaledb-2-loader-postgresql-${PG_MAJOR}=${TIMESCALE_VERSION}~debian13*"; apt-get purge -y --auto-remove curl gnupg lsb-release; rm -rf /var/lib/apt/lists/* # buildkit |
| RUN |3 PG_MAJOR=18 TIMESCALE_VERSION=2.25.1 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; test -f "/usr/lib/postgresql/${PG_MAJOR}/lib/timescaledb.so"; test -e "/usr/share/postgresql/${PG_MAJOR}/extension/timescaledb.control"; test -e "/usr/share/postgresql/${PG_MAJOR}/extension/vector.control" # buildkit |
| USER 26 |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.authors | The CloudNativePG Contributors |
| org.opencontainers.image.base.digest | sha256:cedb1ef40439206b673ee8b33a46a03a0c9fa90bf3732f54704f99cb061d2c5a |
| org.opencontainers.image.base.name | docker.io/library/debian:trixie-slim |
| org.opencontainers.image.created | 2026-05-11T09:12:05Z |
| org.opencontainers.image.description | A system PostgreSQL 18.3 container image |
| org.opencontainers.image.documentation | https://github.com/cloudnative-pg/postgres-containers |
| org.opencontainers.image.licenses | Apache-2.0 |
| org.opencontainers.image.revision | a855a9ec4c0685169e39222854b442ec236071ea |
| org.opencontainers.image.source | https://github.com/cloudnative-pg/postgres-containers |
| org.opencontainers.image.title | CloudNativePG PostgreSQL 18.3 system |
| org.opencontainers.image.url | https://github.com/cloudnative-pg/postgres-containers |
| org.opencontainers.image.vendor | The CloudNativePG Contributors |
| org.opencontainers.image.version | 18.3 |