Added multiple CPU docker build
This commit is contained in:
parent
7877ff66c3
commit
d9db6792fd
|
@ -32,7 +32,7 @@ function build () {
|
|||
|
||||
info "Building $full_tag..."
|
||||
|
||||
if ! docker build -t node:"$full_tag" "$path"; then
|
||||
if ! docker build --cpuset-cpus="0,1" -t node:"$full_tag" "$path"; then
|
||||
fatal "Build of $full_tag failed!"
|
||||
fi
|
||||
info "Build of $full_tag succeeded."
|
||||
|
|
Loading…
Reference in New Issue