Change Dockerfile to cache gtest

We were seeing intermittent problems with gtest's source going down, and
this commit will change to us caching it.