Add ability to build as a Docker container.

* Requires a postgres container to be linked to it.