3 ms·
Speeding up Docker Builds With eatmydata
I had read about it before and seen it in some CI setups but forgotten again. In a local build in docker engine on Linux (so no VM) I could reduce package installation time (which was by far the most heavy point) from 39s to 18.7s, keeping everything else identical.
So please give it a try when you do write-heavy operations on file systems but do not rely on them being 100% consistent in case of errors.
So, in CI cases, you probably never care about this consistency: When the build gets interrupted, you restart it.
It's also not only usable within docker, any build system is worth checking, e.g. Debian is using it with its own builder, too.
https://wildwolf.name/speeding-up-docker-builds-with-eatmydata/
- gus_massa 3y agoPost with text insted of an URL get a penalty, so it's more difficult that they reach the front page (unofficial faq with more details https://github.com/minimaxir/hacker-news-undocumented?tab=readme-ov-file#implicit-downranking-of-posts-without-urls https://github.com/minimaxir/hacker-news-undocumented?tab=re... ) My suggestion is to repost the link in a new submission (URL only, empty text), and add your explanation as as a comment.