This makes sure that all the image layers are added to the cache, and allows the cache to be refreshed by changing the CACHE_VERSION environment variable (as CircleCI cache keys are immutable). It also makes sure git submodules are checked out (for repos that use them, no-op otherwise).
This makes sure that all the image layers are added to the cache, and allows the cache to be refreshed by changing the
CACHE_VERSION
environment variable (as CircleCI cache keys are immutable). It also makes sure git submodules are checked out (for repos that use them, no-op otherwise).