I've been making some tweaks to Kaiser over the past couple months to try and speed up my workflow. This is one of those tweaks, alongside #31, #32, #34, and #35.
Right now most Kaiser Dockerfiles run bundle install during build, so this change isn't super useful, but it still lets you share gems across projects (that are on the same Ruby version). Currently I use #32 to avoid bundle installing when building hats and it speeds things up a lot.
@Resonious @davidsiaw We're not sure how to handle this gracefully yet. One idea is including these cache directories inside hats Kaiserfile/Dockerfile. Closing this for now.
I've been making some tweaks to Kaiser over the past couple months to try and speed up my workflow. This is one of those tweaks, alongside #31, #32, #34, and #35.
Right now most Kaiser Dockerfiles run
bundle install
during build, so this change isn't super useful, but it still lets you share gems across projects (that are on the same Ruby version). Currently I use #32 to avoidbundle install
ing when building hats and it speeds things up a lot.