oci-images/psql (sha256:c221b9032ede392ee5d21022654f6146bc9a2361d9ff3bf89711b7956b9eaaff)
Installation
docker pull git.roshless.me/infra/oci-images/psql@sha256:c221b9032ede392ee5d21022654f6146bc9a2361d9ff3bf89711b7956b9eaaffsha256:c221b9032ede392ee5d21022654f6146bc9a2361d9ff3bf89711b7956b9eaaffImage 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-04-20T03:00:28.558Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | 79c696ce2141179ff638e71261eedc73419e73db |
| 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 | 202604200500 |
Details
2026-04-20 05:00:55 +02:00
Versions (5)
View all
Container
28
OCI / Docker
linux/amd64
8.7 MiB
202604270500
2026-04-27
latest
2026-04-27
202604200500
2026-04-20
202604130500
2026-04-13
202604060501
2026-04-06