Yesterday all our builds suddenly started failing on a project which has postgres:10-alpine-ram set up.
I see new tags were built and published yesterday (https://hub.docker.com/r/circleci/postgres/tags/) aligning with when builds started failing.
I don’t see any changes to the postgres Dockerfile, so I’m assuming the breaking change is coming from upstream (https://github.com/CircleCI-Public/circleci-dockerfiles/commit/54985a27f8eb93725645801983414be1beea792d).
The failure I’m seeing is:
2018-09-11 09:07:01.912 UTC  FATAL: role "postgres" does not exist
which is an odd one, since by default postgres user & db should be set up.
connecting to the db as user
root fixes it, but I don’t think introducing breaking changes like this to the images is a good practice. I know that the tag 10 is rolling, but I wouldn’t expect such breaking changes.
When there need to be breaking changes, please announce them. Maybe under different tags.
Hopefully someone else will find this solution helpful.