postgres (sha256:f2c7abec21b049485c9ef4c20e60f9762e1c332472bcd4c08cbde29b997bcece)

Published 2026-02-18 06:07:14 +00:00 by clement in images/postgres

Installation

docker pull git.breis.ch/images/postgres@sha256:f2c7abec21b049485c9ef4c20e60f9762e1c332472bcd4c08cbde29b997bcece
sha256:f2c7abec21b049485c9ef4c20e60f9762e1c332472bcd4c08cbde29b997bcece

About this package

Minimal PostgreSQL image with Rust entrypoint - no shell, no package manager

Image layers

bazel build @trixie//base-files/arm64:data_statusd
bazel build @trixie//netbase/arm64:data_statusd
bazel build @trixie//tzdata/arm64:data_statusd
bazel build @trixie//media-types/arm64:data_statusd
bazel build //common:rootfs
bazel build //common:passwd
bazel build //common:home
bazel build //common:group
bazel build //common:tmp
bazel build //static:nsswitch
bazel build //common:os_release_debian13
bazel build //common:cacerts_debian13_arm64
bazel build @trixie//libc6/arm64:data_statusd
bazel build @trixie//libssl3t64/arm64:data_statusd
bazel build @trixie//libzstd1/arm64:data_statusd
bazel build @trixie//zlib1g/arm64:data_statusd
ARG POSTGRESQL_VERSION
ARG DEBIAN_MAJOR_VERSION
ARG IMAGE_TITLE
ARG IMAGE_DESCRIPTION
ARG IMAGE_VENDOR
ARG IMAGE_SOURCE
ARG IMAGE_LICENSES
ARG IMAGE_FEATURES
ARG TARGETARCH
LABEL org.opencontainers.image.title=PostgreSQL Distroless org.opencontainers.image.description=Minimal PostgreSQL image with Rust entrypoint - no shell, no package manager org.opencontainers.image.vendor=BEXSYS org.opencontainers.image.source=https://git.breis.ch/images/postgres org.opencontainers.image.licenses=MIT org.opencontainers.image.base.name=gcr.io/distroless/base-debian13:nonroot postgresql.version=18 image.arch= image.features=distroless,rust-entrypoint,ssl-tls,multi-arch,no-shell,minimal-footprint,debian-trixie
COPY /tmp/entrypoint /entrypoint # buildkit
COPY /tmp/entrypoint /bin/sh # buildkit
COPY /extract/usr/lib/postgresql /usr/lib/postgresql # buildkit
COPY /extract/usr/share/postgresql /usr/share/postgresql # buildkit
COPY /extract/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu # buildkit
COPY /extract/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu # buildkit
COPY /extract/usr/lib/aarch64-linux-gnu /usr/lib/aarch64-linux-gnu # buildkit
COPY /extract/lib/aarch64-linux-gnu /lib/aarch64-linux-gnu # buildkit
COPY /extract/etc/ssl/certs /etc/ssl/certs # buildkit
COPY /extract/var/lib/postgresql /var/lib/postgresql # buildkit
COPY /extract/var/run/postgresql /var/run/postgresql # buildkit
ENV PG_MAJOR=18 PGDATA=/var/lib/postgresql/18/data POSTGRES_USER=postgres POSTGRES_DB=postgres LANG=C.UTF-8 LC_ALL=C.UTF-8 PATH=/usr/lib/postgresql/18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
EXPOSE map[5432/tcp:{}]
HEALTHCHECK &{["CMD" "/entrypoint" "--health-check"] "30s" "5s" "30s" '\x03'}
USER 65532:65532
ENTRYPOINT ["/entrypoint"]

Labels

Key Value
image.arch multi
image.features distroless,rust-entrypoint,ssl-tls,multi-arch,no-shell,minimal-footprint,debian-trixie
io.bexsys.compliance-report https://git.breis.ch/images/postgres/actions/runs/534
io.bexsys.security-report https://git.breis.ch/images/postgres/actions/runs/534
org.opencontainers.image.base.name gcr.io/distroless/base-debian13:nonroot
org.opencontainers.image.created
org.opencontainers.image.description Minimal PostgreSQL image with Rust entrypoint - no shell, no package manager
org.opencontainers.image.documentation https://git.breis.ch/images/postgres/actions/runs/534
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision fcc6ce682815511b1c08fa82c065ea28d3f474ea
org.opencontainers.image.source https://git.breis.ch/images/postgres
org.opencontainers.image.title PostgreSQL Distroless 18
org.opencontainers.image.url https://git.breis.ch/images/postgres
org.opencontainers.image.vendor BEXSYS
org.opencontainers.image.version 18
postgresql.version 18
Details
Container
2026-02-18 06:07:14 +00:00
8
OCI / Docker
linux/arm64
MIT
60 MiB
Versions (10) View all
latest 2026-02-18
18 2026-02-18
17 2026-02-18
16 2026-02-18
buildcache-pg18 2026-02-18