4 ms·
But let's say a dependency is changed. Won't modifying that RUN directive invalidate the cache for everything after it, potentially rebuilding a ton of stuff a
by davexunit 11y ago
But let's say a dependency is changed. Won't modifying that RUN directive invalidate the cache for everything after it, potentially rebuilding a ton of stuff anyway?
- emailgregn 11y agoYup, that's the trade-off.
- davexunit 11y agoIt's unfortunate that Docker uses an imperative model. A functional model would have much better cache utilization.