oci-images/psql (sha256:f0a2de6f8cbf966b77c7cce49dfeba9b5b972a150e691bdaa5f20c6bf3689bc1)

Published 2026-11-02 04:00:59 +01:00 by roshless in infra/oci-images

Installation

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

Image layers

ADD alpine-minirootfs-3.24.3-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-11-02T03:00:33.049Z
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 202611020400
Details
Container
2026-11-02 04:00:59 +01:00
4
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