Update Dockerfile.

Fixed to not use `apt-get upgrade` &
`apt-get update` is not on a single line
re: dockerfile best practices
https://docs.docker.com/articles/dockerfile_best-practices/

Signed-off-by: Jessica Frazelle <jess@docker.com>
Merge pull request #6811 from jfrazelle/update-dockerfile

Update Dockerfile.