summaryrefslogtreecommitdiff
path: root/libc/ci/docker/asmjs-unknown-emscripten/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ci/docker/asmjs-unknown-emscripten/Dockerfile')
-rw-r--r--libc/ci/docker/asmjs-unknown-emscripten/Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/ci/docker/asmjs-unknown-emscripten/Dockerfile b/libc/ci/docker/asmjs-unknown-emscripten/Dockerfile
new file mode 100644
index 0000000..3088fc5
--- /dev/null
+++ b/libc/ci/docker/asmjs-unknown-emscripten/Dockerfile
@@ -0,0 +1,20 @@
+FROM ubuntu:16.04
+
+RUN apt-get update && \
+ apt-get install -y --no-install-recommends \
+ ca-certificates \
+ curl \
+ gcc \
+ git \
+ libc6-dev \
+ python \
+ xz-utils
+
+COPY emscripten.sh /
+RUN bash /emscripten.sh
+
+ENV PATH=$PATH:/rust/bin \
+ CARGO_TARGET_ASMJS_UNKNOWN_EMSCRIPTEN_RUNNER=node
+
+COPY emscripten-entry.sh /
+ENTRYPOINT ["/emscripten-entry.sh"]