The official PostgreSQL® image, with the known vulnerabilities that already have a fix left out.
Rebuilt as soon as a fix lands, signed, and measured against the official image every night, in public.
Same PostgreSQL, same tags, same settings as the image you already run. The difference is what surrounds it: these images are rebuilt whenever Debian or Alpine ship a security fix, and they leave out the one bundled program the distribution cannot patch. Every night, each one is scanned next to its official counterpart, and the report shows the result, including whatever is still left.
Important
This does not make PostgreSQL itself any safer, and it cannot fix a vulnerability before Debian, Alpine or the PostgreSQL project do. "No known, fixable vulnerabilities" means none that the scanners know about and that have a fix today; the report shows the rest, and how current the scanners' data is.
Note
An independent, personal project. It is not affiliated with, endorsed by or sponsored by the PostgreSQL project, the PostgreSQL Community Association of Canada, docker-library, Docker, or any company.
- Drop-in: change the registry prefix, keep everything else.
- Patched sooner: rebuilt when a fix lands, and at least once a week.
- Nothing left behind: no bundled extra that only a new release could update.
- Proven, not promised: a public, nightly comparison with the official image.
- Signed: each image is signed as it is published, and comes with the list of what is inside it.
docker run -d --name db -e POSTGRES_PASSWORD=change-me ghcr.io/fyannk/postgres:18That is the whole switch. Everything documented for the
official image works the same way. The
images are also on Docker Hub as fyannk/postgres.
Maintained. Every PostgreSQL version the official image maintains is
published, on Debian and Alpine, for linux/amd64.
- Security report: the nightly comparison, image by image.
- What changes compared with the official image, and how to migrate.
- Tags and registries, and how to verify a signature.
- How images are checked before they ship, and how they are measured.
- Maintaining: local builds and the publishing pipeline.
Contributions are welcome. Read CONTRIBUTING.md first. For larger changes, open an issue before writing code.
Report vulnerabilities privately, as described in SECURITY.md.
Apache-2.0. See LICENSE. The images also contain docker-library/postgres's scripts, under the MIT license; see NOTICE.
PostgreSQL® and the Slonik logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada. This project is not affiliated with or endorsed by the Association, nor with docker-library/postgres, whose recipe it builds.