Run apt-get update before installing git-core.

I was getting an error when trying to build the container. 

`E: Unable to locate package git-core`

We need to update before installing packages.