Throttle forks too and use long flags instead of switches
This commit is contained in:
parent
fe368980b3
commit
eaf3d5006b
1 changed files with 1 additions and 1 deletions
2
vendor/docker-nixos/build.sh
vendored
2
vendor/docker-nixos/build.sh
vendored
|
@ -7,7 +7,7 @@ if [ -z "$NIXOS_TAG" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
cpulimit -l 50 -- docker build \
|
||||
cpulimit --limit 50 --monitor-forks -- docker build \
|
||||
-t "git.devcomp.xyz/devcomp/nixos:$NIXOS_TAG" \
|
||||
-f Dockerfile \
|
||||
--push .
|
||||
|
|
Loading…
Add table
Reference in a new issue