I recently wrote Dockerfiles for PostgreSQL 9.6 & 10, against CentOS 7 and
Fedora 25. Unlike the official Dockerfiles, these ones use the RPMs from
community YUM repository.
The URL for the files are: https://www.pgdocker.org
I'm currently maintaining the Dockerfiles in PostgreSQL git repository:
https://git.postgresql.org/gitweb/?p=pgrpms.git;a=tree;f=docker
The instructions are here:
https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=docker/README
Please let me know if you find any issues with these Dockerfiles.
Regards,
--
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR