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/
1 comment
[ 4.1 ms ] story [ 16.4 ms ] threadMy suggestion is to repost the link in a new submission (URL only, empty text), and add your explanation as as a comment.