gitlab-ci: use eatmydata in apt-get
apt-get uses several fsync() calls on each package it installs, and that's very slow, especially on non-SSD. eatmydata turns fsync into no-op, which makes package installation much faster (it can cause corruption if there's power loss or similar, but that doesn't matter in CI where we throw away the whole container anyway). Currently the build_ubuntu_20_04 job in GitLab CI takes 8-9 minutes to install dependencies. Using eatmydata it went down to 2 minutes.
Please register or sign in to comment