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
|
||||
|
||||
sudo docker run \
|
||||
-cpus=2 \
|
||||
-v $PWD:/usr/src \
|
||||
povray_gcc \
|
||||
sh -c 'cd /usr/src && sh build.sh'
|
Loading…
Reference in New Issue