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
|
||||
fi
|
||||
|
||||
cpulimit -l 50 docker build \
|
||||
cpulimit -l 50 -- docker build \
|
||||
-t "git.devcomp.xyz/devcomp/nixos:$NIXOS_TAG" \
|
||||
-f Dockerfile \
|
||||
--push .
|
||||
|
|
Loading…
Add table
Reference in a new issue