Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I 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.



Having a separate FROM image doesn't help that situation either, since you have to rebuild it.


Couldn't you FROM and then update? I'm not a ruby expert but I'd hope that it could be incremental.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: