Added multiple CPU docker build

This commit is contained in:
Laurent Goderre 2018-04-05 10:15:42 -04:00
parent 7877ff66c3
commit d9db6792fd
1 changed files with 1 additions and 1 deletions

View File

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