Limit to 2 cpus to prevent locking machine on failed build processes

This commit is contained in:
Matt McWilliams 2021-09-15 20:13:57 -04:00
parent 468bbd959c
commit c943a59563
1 changed files with 1 additions and 0 deletions

View File

@ -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'