File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,25 @@ ENV ARGS=""
62
62
RUN apt update
63
63
RUN apt install -y nodejs
64
64
RUN apt install -y npm
65
+ RUN apt install -y cmake
66
+ RUN apt install -y git
65
67
COPY ./ ./
68
+ RUN mkdir -p ./tests/.tools
69
+ WORKDIR ./tests/.tools
70
+ RUN git clone --recursive https://github.com/WebAssembly/wabt
71
+ WORKDIR wabt
72
+ RUN git submodule update --init
73
+ RUN mkdir -p build
74
+ WORKDIR build
75
+ RUN cmake ..
76
+ RUN cmake --build .
77
+ WORKDIR /
66
78
RUN npm run codegen
67
79
RUN npm run build
68
80
RUN apt install -y postgresql
69
81
RUN apt install -y curl
70
- RUN apt-get update && apt-get -y install cmake protobuf-compiler
71
- RUN curl -OL https://github.com/LimeChain/matchstick/releases/download/${ version || "0.2.1a" } /binary-linux-20
82
+ RUN curl -OL ${ url }
72
83
RUN mv binary-linux-20 matchstick
73
- RUN chmod a+x matchstick
74
84
CMD ./matchstick \${ARGS}`
75
85
76
86
let dir = 'tests/.docker'
You can’t perform that action at this time.
0 commit comments