oci-images/psql (sha256:0965d868317968e6e8454a69baa7faea0b0fb6067a98a3ee0ceefe9eb96f50f3)
Installation
docker pull git.roshless.me/infra/oci-images/psql@sha256:0965d868317968e6e8454a69baa7faea0b0fb6067a98a3ee0ceefe9eb96f50f3sha256:0965d868317968e6e8454a69baa7faea0b0fb6067a98a3ee0ceefe9eb96f50f3Image layers
| ADD alpine-minirootfs-3.23.4-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-06-08T03:00:31.196Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | e0c9e5b772ae79a9f2c3ce4bbd06183dbc358baf |
| 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 | 202606080500 |
Details
2026-06-08 05:00:50 +02:00
Versions (6)
View all
Container
28
OCI / Docker
linux/amd64
8.8 MiB
202606080500
2026-06-08
latest
2026-06-08
202606010500
2026-06-01
202605250500
2026-05-25
202605180500
2026-05-18