Apply dockerfile best practices [http://docs.docker.com/articles/dockerfile_best-practices/]