skia2/infra/pathkit/docker/emsdk-base/Dockerfile
Kevin Lubick 2031f34a77 [canvaskit] Upgrade emscripten to .27
This should have some slightly better, more minified JS and other
bugfixes

Bug: skia:
Change-Id: I7c5367b6650267ec8bafcc5de9e351bd8788392b
Reviewed-on: https://skia-review.googlesource.com/c/193582
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2019-02-21 14:13:00 +00:00

29 lines
626 B
Docker

# A Docker image that has the Emscripten SDK installed to /opt/emsdk
# Use this image to compile C/C++ code to WASM.
FROM launcher.gcr.io/google/clang-debian9
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
git \
python \
nodejs \
default-jre
RUN cd /opt \
&& git clone https://github.com/juj/emsdk.git
WORKDIR /opt/emsdk
RUN ./emsdk update-tags
# These versions were available and worked on my local desktop as of Nov 6 2018.
RUN ./emsdk install sdk-1.38.27-64bit
RUN ./emsdk activate sdk-1.38.27-64bit
RUN /bin/bash -c "source ./emsdk_env.sh"
ENV EMSDK=/opt/emsdk
RUN mkdir -p /OUT /SRC