Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
candiddevmike
on April 7, 2024
|
parent
|
context
|
favorite
| on:
Cache is King: A guide for Docker layer caching in...
Additionally, docker build refuses to cause any side effects to the host system. This makes any kind of caching difficult by design. IMO, if possible, consider doing your build outside of docker and just copying it into a scratch container...
cpuguy83
on April 7, 2024
[–]
I'm not sure what you mean here. "RUN --mount type=cache,dest=/foo" is exactly for keeping a persistent cache on the host.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: