Page MenuHomeSoftware Heritage

Fix entrypoint of most services

Authored by douardda on Dec 20 2018, 2:22 PM.



Setting .pgpass perms to 0400 prevent a container from being restarted
without being recreated (docker-compose restart fails), since the
echo xxx > .pgpass fails because the .pgpass already exists and is
read only.

Diff Detail

rCDFD Dockerfiles for developers
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Dec 20 2018, 2:22 PM

Note that this requires to recreate the containers. I did not want to bloat the entrypoint with code only useful for the 'migration' of existing containers...

ardumont accepted this revision.Dec 20 2018, 2:27 PM
This revision is now accepted and ready to land.Dec 20 2018, 2:27 PM
This revision was automatically updated to reflect the committed changes.