emscripten_docker/povray_wasm/Dockerfile

34 lines
620 B
Docker
Raw Normal View History

FROM frolvlad/alpine-gxx
RUN apk update
2021-09-16 00:19:11 +00:00
RUN apk add --update \
2021-09-16 00:37:05 +00:00
bash \
2021-09-16 00:32:21 +00:00
git \
2021-09-16 00:19:11 +00:00
coreutils \
build-base \
boost-dev \
zlib-dev \
libpng-dev \
jpeg-dev \
tiff-dev \
openexr-dev \
sdl-dev \
autoconf \
automake \
make
2021-09-16 00:32:21 +00:00
RUN pwd
2021-09-22 05:27:14 +00:00
WORKDIR /usr/src/
RUN cd /usr/src/ && git clone https://github.com/emscripten-core/emsdk.git emsdk
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 cd /usr/src/emsdk && ./emsdk install latest
2021-09-16 00:32:21 +00:00
2021-09-22 05:27:14 +00:00
RUN cd /usr/src/emsdk && ./emsdk activate latest
2021-09-16 00:32:21 +00:00
2021-09-22 05:27:14 +00:00
RUN cd /usr/src/emsdk && source ./emsdk_env.sh