Skip to content

Commit d6dd5da

Browse files
committed
Swap dockerfiles
1 parent 3654dda commit d6dd5da

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/commands/test.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,25 +62,15 @@ ENV ARGS=""
6262
RUN apt update
6363
RUN apt install -y nodejs
6464
RUN apt install -y npm
65-
RUN apt install -y cmake
66-
RUN apt install -y git
6765
COPY ./ ./
68-
RUN mkdir ./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 build
74-
WORKDIR build
75-
RUN cmake ..
76-
RUN cmake --build .
77-
WORKDIR /
7866
RUN npm run codegen
7967
RUN npm run build
8068
RUN apt install -y postgresql
8169
RUN apt install -y curl
82-
RUN curl -OL ${url}
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
8372
RUN mv binary-linux-20 matchstick
73+
RUN chmod a+x matchstick
8474
CMD ./matchstick \${ARGS}`
8575

8676
let dir = 'tests/.docker'

0 commit comments

Comments
 (0)