3 ms·
Why not leverage Docker's built-in image layer caching?
by gkop 10y ago
Why not leverage Docker's built-in image layer caching?
- kentt 10y agoI think the idea here is that the docker level caching isn't well suited for this. Eg for us we install all relevant gems with `bundle install`. If you update one gem, that the whole layer is rebuilt. Since the whole `bundle install` layer is rebuilt, every gem is fetched again from rubygems. Yarn works the same.
- puzzle 10y agoThat might be less effective if you can't guarantee that all the builds end up always on the same node.