oci-images/psql (sha256:d1df0a714f380b5edce846220699422d96e4f8e85e661b428b75da63e5bd96c6)
Installation
docker pull git.roshless.me/infra/oci-images/psql@sha256:d1df0a714f380b5edce846220699422d96e4f8e85e661b428b75da63e5bd96c6sha256:d1df0a714f380b5edce846220699422d96e4f8e85e661b428b75da63e5bd96c6Image layers
| ADD alpine-minirootfs-3.23.2-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-01-19T03:00:17.661Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | cae972df0c3200ed2b0644045e00a376b7467586 |
| 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 | 202601190400 |
Details
2026-01-19 04:00:51 +01:00
Versions (3)
View all
Container
28
OCI / Docker
linux/amd64
8.7 MiB