Skip to content

Commit 1b37b86

Browse files
committed
Init
0 parents  commit 1b37b86

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM alpine
2+
3+
RUN apk add --no-cache git && \
4+
apk add --no-cache cmake make gcc g++ && \
5+
cd /usr/local/share && \
6+
git clone https://github.com/WebAssembly/binaryen.git && \
7+
cd binaryen && \
8+
git checkout version_11 && \
9+
git checkout 04fa143e85bc870c80c50aa57cdbce833df0aa2d CMakeLists.txt && \
10+
cmake . && make && \
11+
apk del git && \
12+
apk del cmake make g++ #Leave gcc for dependent libs
13+
14+
ENV PATH $PATH:/usr/local/share/binaryen/bin
15+
16+
ENTRYPOINT asm2wasm

0 commit comments

Comments
 (0)