Build povray with gcc in docker

This commit is contained in:
mmcwilliams 2021-09-15 02:00:20 -04:00
parent fc007ec71a
commit d661331bf2
1 changed files with 2 additions and 2 deletions

View File

@ -8,11 +8,11 @@ fi
cp build.sh povray/build.sh cp build.sh povray/build.sh
docker build . -t povray_gcc sudo docker build . -t povray_gcc
cd povray cd povray
docker run \ sudo docker run \
-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'