diff --git a/vendor/docker-nixos/build.sh b/vendor/docker-nixos/build.sh index 364760d..cec59df 100755 --- a/vendor/docker-nixos/build.sh +++ b/vendor/docker-nixos/build.sh @@ -7,8 +7,7 @@ if [ -z "$NIXOS_TAG" ]; then exit 1 fi -docker build \ - --cpus=$(( $(nproc) / 2 )) \ +cpulimit -l 50 docker build \ -t "git.devcomp.xyz/devcomp/nixos:$NIXOS_TAG" \ -f Dockerfile \ --push .