oci-images/psql (sha256:c3cc77fb8ca06116bc1a10f6cfd27c49b24a521953fd86b199a024c54559b9f9)
Installation
docker pull git.roshless.me/infra/oci-images/psql@sha256:c3cc77fb8ca06116bc1a10f6cfd27c49b24a521953fd86b199a024c54559b9f9sha256:c3cc77fb8ca06116bc1a10f6cfd27c49b24a521953fd86b199a024c54559b9f9Image 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-07-13T03:00:16.696Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | cc15dc1f4f4dfb8c4e91364f7b262eb7189bd0cb |
| 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 | 202607130500 |
Details
2026-07-13 05:01:00 +02:00
Versions (6)
View all
Container
28
OCI / Docker
linux/amd64
8.9 MiB
202607270459
2026-07-27
latest
2026-07-27
202607200459
2026-07-20
202607130500
2026-07-13
202607060500
2026-07-06