Sign inSign up

jfxs/postgres-client

By jfxs

•Updated 3 months ago

An Alpine image with Postgres client

Image
Databases & storage
0

10K+

jfxs/postgres-client repository overview

⁠Docker Postgres client

Software License Pipeline Status

A Postgres client⁠ Docker image:

  • lightweight image based on Alpine Linux only 6 MB,
  • multiarch with support of amd64 and arm64,
  • non-root container user,
  • automatically updated by comparing software bill of materials (SBOM) changes,
  • image signed with Cosign⁠,
  • a software bill of materials (SBOM) attestation added using Syft⁠,
  • available on Docker Hub and Quay.io.

GitLab The main repository.

Docker Hub The Docker Hub registry.

Quay.io The Quay.io registry.

⁠Running task

docker run -t --rm jfxs/postgres-client task --version

or

docker run -t --rm quay.io/ifxs/postgres-client task --version

⁠Built with

Docker latest tag is 16.14.0-004, 16.14, 16⁠ and contains:

NameVersionType
ca-certificates20260611-r0apk
postgresql16-client16.14-r0apk

Details are updated on Dockerhub Overview page⁠ when an image is published.

⁠Versioning

Docker tag definition:

  • the Postgres client psql version used,
  • a dash
  • an increment to differentiate build with the same version starting at 001
<psql_version>-<increment>

Example: 16.3.0-001

⁠Signature and attestation

Cosign⁠ public key:

-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEa3yV6+yd/l4zh/tfT6Tx+zn0dhy3
BhFqSad1norLeKSCN2MILv4fZ9GA6ODOlJOw+7vzUvzZVr9IXnxEdjoWJw==
-----END PUBLIC KEY-----

The public key is also available online: https://gitlab.com/op_so/docker/cosign-public-key/-/raw/main/cosign.pub⁠.

To verify an image:

cosign verify --key cosign.pub $IMAGE_URI

To verify and get the SBOM attestation:

cosign verify-attestation --key cosign.pub --type spdxjson $IMAGE_URI | jq '.payload | @base64d | fromjson | .predicate'

⁠Authors

⁠License

This program is free software: you can redistribute it and/or modify it under the terms of the MIT License (MIT). See the LICENSE⁠ for details.

Tag summary

Content type

Image

Digest

sha256:7d7b1d35d…

Size

6.1 MB

Last updated

3 months ago

docker pull jfxs/postgres-client