Use --
to separate command being run from cpulimit
This commit is contained in:
parent
faef48e85d
commit
fe368980b3
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cpulimit -l 50 docker build \
|
cpulimit -l 50 -- docker build \
|
||||||
-t "git.devcomp.xyz/devcomp/nixos:$NIXOS_TAG" \
|
-t "git.devcomp.xyz/devcomp/nixos:$NIXOS_TAG" \
|
||||||
-f Dockerfile \
|
-f Dockerfile \
|
||||||
--push .
|
--push .
|
||||||
|
|
Loading…
Add table
Reference in a new issue