New povray_gcc strat
This commit is contained in:
parent
3b5ab2adcb
commit
5dbf67100b
|
@ -19,4 +19,10 @@ RUN apk add --update \
|
||||||
automake \
|
automake \
|
||||||
make
|
make
|
||||||
|
|
||||||
|
WORKDIR /usr/src/
|
||||||
|
|
||||||
|
ENV POVRAY_VERSION=3.7-stable
|
||||||
|
|
||||||
|
RUN cd /usr/src/ && git clone --depth 1 --branch $POVRAY_VERSION https://github.com/POV-Ray/povray povray
|
||||||
|
|
||||||
RUN cat /etc/alpine-release
|
RUN cat /etc/alpine-release
|
|
@ -1,19 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
POVRAY_VERSION=3.7-stable
|
|
||||||
|
|
||||||
if [ ! -d povray ]; then
|
|
||||||
git clone --depth 1 --branch $POVRAY_VERSION https://github.com/POV-Ray/povray povray
|
|
||||||
fi
|
|
||||||
|
|
||||||
bash build_docker.sh
|
bash build_docker.sh
|
||||||
|
|
||||||
cp build.sh povray/build.sh
|
|
||||||
|
|
||||||
cd povray
|
cd povray
|
||||||
|
|
||||||
sudo docker run \
|
sudo docker run \
|
||||||
--cpus=2 \
|
--cpus=2 \
|
||||||
-v $PWD:/usr/src \
|
-v $PWD:/usr/src \
|
||||||
povray_gcc \
|
povray_gcc \
|
||||||
sh -c 'cd /usr/src && sh build.sh'
|
sh -c 'cp build.sh /usr/src/povray && cd /usr/src/povray && sh build.sh'
|
Loading…
Reference in New Issue