Add caching of docker images to CI script.