docker build -t postgres-pgtap .
docker-compose up -d --force-recreate
docker exec -it pgtap bash
su - postgres
pg_prove -d postgres /tests
18d7ae4838e3:~$ pg_prove -d postgres /tests
/tests/proc_check_deps_1.pg ...... ok
/tests/proc_check_divs_1.pg ...... ok
/tests/proc_complete_users_1.pg .. ok
/tests/proc_split_deps_1.pg ...... ok
/tests/proc_split_divs_1.pg ...... ok
/tests/proc_split_tels_1.pg ...... ok
/tests/proc_split_users_1.pg ..... ok
All tests successful.
Files=7, Tests=7, 0 wallclock secs ( 0.05 usr 0.02 sys + 0.01 cusr 0.02 csys = 0.10 CPU)
Result: PASS