oci-images/psql (sha256:509d01b30b965a6528b44ebc5af3ae0bb3a2aa3367dca3d755ccb61bf2c975cd)
Installation
docker pull git.roshless.me/infra/oci-images/psql@sha256:509d01b30b965a6528b44ebc5af3ae0bb3a2aa3367dca3d755ccb61bf2c975cdsha256:509d01b30b965a6528b44ebc5af3ae0bb3a2aa3367dca3d755ccb61bf2c975cdImage 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-08-17T03:00:43.449Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | 5c9d925f722661ce6278e5a54c828c48e26cf5e7 |
| 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 | 202608170500 |
Details
2026-08-17 05:01:04 +02:00
Versions (6)
View all
Container
28
OCI / Docker
linux/amd64
8.9 MiB
202609140500
2026-09-14
latest
2026-09-14
202609070500
2026-09-07
202608310500
2026-08-31
202608240500
2026-08-24