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

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


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: