oci-images/psql (sha256:d3b4dcc871ada61648444f882eb62c04cb826b3675a39a95ea15f6f25ce450c4)

Published 2026-10-12 05:00:59 +02:00 by roshless in infra/oci-images

Installation

docker pull git.roshless.me/infra/oci-images/psql@sha256:d3b4dcc871ada61648444f882eb62c04cb826b3675a39a95ea15f6f25ce450c4
sha256:d3b4dcc871ada61648444f882eb62c04cb826b3675a39a95ea15f6f25ce450c4

Image layers

ADD alpine-minirootfs-3.24.2-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add postgresql-client # buildkit
ENV PGHOST=localhost
ENV PGDATABASE=databasename
ENV PGUSER=username
ENV PGPASSWORD=password
ENV PGPORT=5432
ENV SQL_COMMAND=SELECT * FROM pg_catalog.pg_roles LIMIT 1;
CMD ["/bin/sh" "-c" "psql -c '${SQL_COMMAND}'"]

Labels

Key Value
org.opencontainers.image.created 2026-10-12T02:59:31.045Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 6505288aedf7a97e3506dd43c3c1101340b4aa43
org.opencontainers.image.source https://git.roshless.me/infra/oci-images
org.opencontainers.image.title oci-images
org.opencontainers.image.url https://git.roshless.me/infra/oci-images
org.opencontainers.image.version 202610120459
Details
Container
2026-10-12 05:00:59 +02:00
28
OCI / Docker
linux/amd64
8.9 MiB
Versions (6) View all
202611022318 2026-11-02
latest 2026-11-02
202611020400 2026-11-02
202610260400 2026-10-26
202610190501 2026-10-19