CircleCIでdocker buildする際、初期状態ではbuild cacheが無効になっている。documentを漁っていたら、オプションでbuild cacheを有効にできるようだったので試してみた。 By default, the Remote Docker Environment doesn’t provide layer caching, but you can enable this feature with a special option circleci.com 設定方法 Remote Dockerの場合 - setup_remote_docker: docker_layer_caching: true see: https://circleci.com/docs/2.0/docker-layer-caching/#docker-layer-caching-in-r
![CircleCI: docker_layer_cachingを有効にしてdocker buildでキャッシュを効かせる - モヒカンメモ](https://cdn-ak-scissors.b.st-hatena.com/image/square/b37003e366cbb35e4d49c51e9d99db6390fa226a/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fp%2Fpinkumohikan%2F20180528%2F20180528235406.png)