use dockerfile from https://github.com/sameersbn/docker-gitlab so that most of the cache can be shared between the images