Limit to 2 cpus to prevent locking machine on failed build processes
This commit is contained in:
parent
468bbd959c
commit
c943a59563
|
@ -13,6 +13,7 @@ sudo docker build . -t povray_gcc
|
||||||
cd povray
|
cd povray
|
||||||
|
|
||||||
sudo docker run \
|
sudo docker run \
|
||||||
|
-cpus=2 \
|
||||||
-v $PWD:/usr/src \
|
-v $PWD:/usr/src \
|
||||||
povray_gcc \
|
povray_gcc \
|
||||||
sh -c 'cd /usr/src && sh build.sh'
|
sh -c 'cd /usr/src && sh build.sh'
|
Loading…
Reference in New Issue