Update dockerfile with goodies.

I've moved some logic out of the software itself and into the Dockerfile
to provide a more consistent and simpler configuration.  Also part of
this is minor documentation updates.