Make compression level configurable for docker images generated in Makefile
While developing the Runner, we often need to rebuild the Dockerfiles for the helper image, and that entails an xz -f -9
command, selecting the highest level of compression. This is wasteful for a development environment, where we should favor speed over disk space. My proposal is to extract the -f -9
part to a variable in the Makefile which will default to -f -0
, and then override this variable in .gitlab-ci.yml
to use the maximum compression of -f 9
.