From c943a59563d2b4c771bdffcffd8b282f0e552199 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Wed, 15 Sep 2021 20:13:57 -0400 Subject: [PATCH] Limit to 2 cpus to prevent locking machine on failed build processes --- povray_gcc/build_with_docker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/povray_gcc/build_with_docker.sh b/povray_gcc/build_with_docker.sh index 8b47cfe..47e4c6a 100644 --- a/povray_gcc/build_with_docker.sh +++ b/povray_gcc/build_with_docker.sh @@ -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' \ No newline at end of file