Try new approach, this time starting with ubuntu-based official emsdk image

This commit is contained in:
Matt McWilliams 2021-09-22 01:53:48 -04:00
parent 8b2bc19f3d
commit 63d65c0b2e
3 changed files with 37 additions and 32 deletions

View File

@ -1,34 +1,5 @@
FROM frolvlad/alpine-gxx
#!/bin/bash
RUN apk update
FROM emscripten/emsdk:latest
RUN apk add --update \
bash \
git \
coreutils \
build-base \
boost-dev \
zlib-dev \
libpng-dev \
jpeg-dev \
tiff-dev \
openexr-dev \
sdl-dev \
autoconf \
automake \
make
RUN pwd
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
RUN cd /usr/src/emsdk && ./emsdk activate latest
RUN cd /usr/src/emsdk && source ./emsdk_env.sh
RUN ls

View File

@ -0,0 +1,34 @@
FROM frolvlad/alpine-gxx
RUN apk update
RUN apk add --update \
bash \
git \
coreutils \
build-base \
boost-dev \
zlib-dev \
libpng-dev \
jpeg-dev \
tiff-dev \
openexr-dev \
sdl-dev \
autoconf \
automake \
make
RUN pwd
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
RUN cd /usr/src/emsdk && ./emsdk activate latest
RUN cd /usr/src/emsdk && source ./emsdk_env.sh