Throttle forks too and use long flags instead of switches

This commit is contained in:
Erica Marigold 2025-02-06 12:11:30 +05:30
parent fe368980b3
commit eaf3d5006b
Signed by: DevComp
SSH key fingerprint: SHA256:jD3oMT4WL3WHPJQbrjC3l5feNCnkv7ndW8nYaHX5wFw

View file

@ -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 .