FROM ubuntu:focal RUN apt update RUN DEBIAN_FRONTEND=noninteractive apt install -y \ git \ bash \ build-essential \ coreutils \ libboost-all-dev \ libboost-date-time-dev \ libz-dev \ libpng-dev \ libjpeg-dev \ libtiff-dev \ libopenexr-dev \ libsdl-dev \ libilmbase-dev \ autoconf \ pkg-config \ automake \ 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 WORKDIR /usr/src/povray COPY ./compile_povray.sh /usr/src/povray/compile_povray.sh RUN bash compile_povray.sh