How to restore a Postgresdump while building a Docker image?
问题 I'm trying to avoid touching a shared dev database in my workflow; to make this easier, I want to have Docker image definitions on my disk for the schemas I need. I'm stuck however at making a Dockerfile that will create a Postgres image with the dump already restored. My problem is that while the Docker image is being built, the Postgres server isn't running. While messing around in the container in a shell, I tried starting the container manually, but I'm not sure what the proper way to do