emscripten_docker/povray_wasm/Dockerfile

24 lines
531 B
Docker

#!/bin/bash
FROM emscripten/emsdk:latest
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 \
libboost-all-dev
WORKDIR /usr/src/
RUN cd /usr/src/ && git clone --recursive git@github.com:emscripten-ports/boost.git emscripten-boost
ENV POVRAY_VERSION=3.7-stable
RUN cd /usr/src/ && git clone --depth 1 --branch $POVRAY_VERSION https://github.com/POV-Ray/povray povray