postgresql: Finally have a working Dockerfile
rethinkdb: Changed the order of operations about a little bit