forked from bitaps-com/jsbgl
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile.wasm
19 lines (16 loc) · 668 Bytes
/
Dockerfile.wasm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ubuntu:18.04
MAINTAINER Aleksey Karpov <admin@bitaps.com>
RUN apt-get update
RUN apt-get -y install python3
RUN apt-get -y install python3-pip
RUN apt-get -y install libtool autotools-dev automake pkg-config libssl-dev libevent-dev
RUN apt-get -y install libssl1.0-dev
RUN apt-get -y -qq install build-essential m4 git cmake nodejs npm default-jre curl
WORKDIR /root
RUN git clone https://github.com/emscripten-core/emsdk.git
WORKDIR /root/emsdk
# Install the emscripten dependencies and activate
# RUN cd ./emsdk; git checkout 8a35734a477bd0fd83d9b6336409b0ff0c172f0d
RUN cd ./emsdk; git checkout 2.0.4
RUN ./emsdk install latest
RUN ./emsdk activate latest