This image serves as convenient way how to have emscripten at hand without the need to build it for yourself, which takes a long time as you need to build clang from source. It includes openjdk-8-jre so it can be used with the closure compiler
The docker image version is the same as emscrpten version so
apiaryio/emcc:1.33 corresponds to emscripten version
Each of the tags are built using the latest patch version of emscripten as found on emscripten releases page.
pulled the usage is simple either invoke simple commands for interactive use
$> docker run --rm -v $(pwd):/src -t apiaryio/emcc emconfigure ./configure
or if working on non-trivial project have a build script run that, see the
emcc directory in drafter.js repo.
$> docker run --rm -v $(pwd):/src -t apiaryio/emcc:1.36 scripts/emcbuild.sh
Both examples assume you are in the root directory of your project where is your
Dockerfiles can be found at emscripten-docker repository.