Created
October 19, 2018 23:31
-
-
Save val314159/caedaabb1029b833242f8e4136bbf92a to your computer and use it in GitHub Desktop.
emscripten Dockerfile, slightly updated
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM buildpack-deps:bionic | |
RUN apt-get -y update && apt-get -y upgrade && apt-get -y install apt-utils | |
SHELL ["/bin/bash", "-c"] | |
ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 | |
RUN mkdir -p /root/emscripten/ | |
COPY emscripten /root/emscripten/ | |
RUN cd /root/ \ | |
&& apt-get update \ | |
&& apt-get install -y python cmake build-essential default-jre \ | |
&& wget https://github.com/juj/emsdk/archive/master.tar.gz \ | |
&& tar -xf master.tar.gz \ | |
&& pushd emsdk-master \ | |
&& ./emsdk update-tags \ | |
&& ./emsdk install latest \ | |
&& ./emsdk activate latest \ | |
&& popd \ | |
&& echo BINARYEN_ROOT="''" >> .emscripten \ | |
&& echo 'export PATH=$PATH:/root/emscripten' >>/root/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment