2021-09-22 05:53:48 +00:00
|
|
|
#!/bin/bash
|
2021-08-31 19:15:32 +00:00
|
|
|
|
2021-09-22 05:53:48 +00:00
|
|
|
FROM emscripten/emsdk:latest
|
2021-08-31 19:15:32 +00:00
|
|
|
|
2021-09-22 06:00:54 +00:00
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt update
|
|
|
|
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt install -y \
|
|
|
|
bash \
|
|
|
|
libz-dev \
|
|
|
|
libpng-dev \
|
|
|
|
libjpeg-dev \
|
|
|
|
libtiff-dev \
|
|
|
|
libopenexr-dev \
|
|
|
|
autoconf \
|
|
|
|
automake \
|
|
|
|
make \
|
2021-09-22 07:00:05 +00:00
|
|
|
libboost-all-dev
|
2021-09-22 06:00:54 +00:00
|
|
|
|
|
|
|
WORKDIR /usr/src/
|
|
|
|
|
2021-10-17 04:34:44 +00:00
|
|
|
RUN cd /usr/src/ && git clone --recurse-submodules https://github.com/emscripten-ports/boost.git emscripten-boost
|
|
|
|
|
2021-09-22 06:00:54 +00:00
|
|
|
ENV POVRAY_VERSION=3.7-stable
|
|
|
|
RUN cd /usr/src/ && git clone --depth 1 --branch $POVRAY_VERSION https://github.com/POV-Ray/povray povray
|