oci-images/psql (sha256:bb839553c64c6ca38c136f07cb9c3f26bda04156244d99a669ecca4d990944a2)
Installation
docker pull git.roshless.me/infra/oci-images/psql@sha256:bb839553c64c6ca38c136f07cb9c3f26bda04156244d99a669ecca4d990944a2sha256:bb839553c64c6ca38c136f07cb9c3f26bda04156244d99a669ecca4d990944a2Image layers
| ADD alpine-minirootfs-3.23.0-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 | 2025-12-04T17:17:19.406Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | 951a582af28a897d90446834e48c1dac5062523a |
| 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 | 202512041815 |
Details
2025-12-04 18:17:37 +01:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
8.7 MiB
202512041815
2025-12-04
latest
2025-12-04