forked from oraoto/pib
-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathemscripten-builder.dockerfile
58 lines (48 loc) · 1.1 KB
/
emscripten-builder.dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Bisecting for CloudFlare:
# Works (cloudflare)
# FROM emscripten/emsdk:3.1.43
# FROM emscripten/emsdk:3.1.44
# Broken (cloudflare)
# FROM emscripten/emsdk:3.1.67
# FROM emscripten/emsdk:3.1.55
# FROM emscripten/emsdk:3.1.51
# FROM emscripten/emsdk:3.1.47
# FROM emscripten/emsdk:3.1.45
# ARG EMSDK_VERSION="3.1.44"
ARG EMSDK_VERSION="3.1.67"
FROM emscripten/emsdk:${EMSDK_VERSION}
MAINTAINER Sean Morris <[email protected]>
SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
RUN apt-get update; \
DEBIAN_FRONTEND=noninteractive \
apt-get --no-install-recommends -y install \
build-essential \
automake \
autoconf \
autogen \
libtool \
gettext \
shtool \
brotli \
pkgconf \
gperf \
groff \
bison \
flex \
gzip \
make \
re2c \
gdb \
git \
sed \
pv \
jq
# RUN rm -rf /emsdk/upstream/emscripten
# ADD emscripten /emsdk/upstream/emscripten
# RUN /emsdk/upstream/emscripten/bootstrap
RUN cd /emsdk/upstream && {\
rm -rf emscripten;\
git clone https://github.com/seanmorris/emscripten.git emscripten --depth=1 --branch sm-updates;\
emscripten/bootstrap; \
}
RUN emcc --check