Public Repository

Last pushed: a year ago
Short Description
A containerized Emscripten environment
Full Description

FROM debian:jessie-slim

RUN apt-get -y update
RUN apt-get install -y python2.7 curl nodejs npm git cmake
RUN ln -s which nodejs /usr/bin/node

RUN mkdir -p /tmp/downloads
RUN curl -sf -o /tmp/downloads/emsdk-portable.tar.gz -L https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz
RUN mkdir -p /opt
WORKDIR /opt
RUN tar xfz /tmp/downloads/emsdk-portable.tar.gz
WORKDIR /opt/emsdk_portable

RUN ./emsdk update
RUN ./emsdk install latest
RUN ./emsdk activate latest
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN source ./emsdk_env.sh
RUN echo 'source /opt/emsdk_portable/emsdk_env.sh' >> ~/.bashrc

Docker Pull Command
Owner
ravenstine