From d236c835f2bf33453e5025a826892d561f1d8f2a Mon Sep 17 00:00:00 2001 From: mattmcw Date: Fri, 17 Sep 2021 19:09:50 +0000 Subject: [PATCH] add cmd script to povray_gcc --- povray_gcc/cmd.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 povray_gcc/cmd.sh diff --git a/povray_gcc/cmd.sh b/povray_gcc/cmd.sh new file mode 100644 index 0000000..2be6a93 --- /dev/null +++ b/povray_gcc/cmd.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +cd povray + +sudo docker run \ + --cpus=2 \ + -v $PWD:/usr/src \ + povray_gcc \ + sh -c "${1}"