Y
Hacker News
new
|
ask
|
show
|
jobs
by
davexunit
3908 days 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?
1 comments
emailgregn
3908 days ago
Yup, that's the trade-off.
link
davexunit
3908 days ago
It's unfortunate that Docker uses an imperative model. A functional model would have much better cache utilization.
link