oci-images/psql (sha256:0182b7d6992a558e11d9ba93d7c1791d0e744769861bc753f3f2c055a855b1bc)

Published 2026-09-14 05:01:13 +02:00 by roshless in infra/oci-images

Installation

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

Image layers

ADD alpine-minirootfs-3.24.1-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-09-14T03:00:19.459Z
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 202609140500
Details
Container
2026-09-14 05:01:13 +02:00
28
OCI / Docker
linux/amd64
8.9 MiB
Versions (6) View all
202609140500 2026-09-14
latest 2026-09-14
202609070500 2026-09-07
202608310500 2026-08-31
202608240500 2026-08-24