File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ ARG EMQTT_BENCH_REF
20
20
COPY get-emqtt-bench.sh /get-emqtt-bench.sh
21
21
RUN /get-emqtt-bench.sh "${EMQTT_BENCH_REF:-0.4.7}"
22
22
23
- ENV PATH="/tools/emqtt-bench:$PATH"
24
-
25
23
ARG LUX_REF
26
24
ENV LUX_REF=${LUX_REF:-lux-2.6}
27
25
Original file line number Diff line number Diff line change @@ -26,5 +26,9 @@ case "$SYSTEM" in
26
26
;;
27
27
esac
28
28
29
- git clone --depth=1 --branch=" ${VSN} " https://github.com/emqx/emqtt-bench.git /tools/emqtt-bench
30
- make REBAR=/usr/local/bin/rebar3 -C /tools/emqtt-bench
29
+ git clone --depth=1 --branch=" ${VSN} " https://github.com/emqx/emqtt-bench.git /emqtt-bench
30
+ make REBAR=/usr/local/bin/rebar3 -C /emqtt-bench
31
+ cp -v /emqtt-bench/emqtt_bench /emqtt-bench/* .so /usr/local/bin/
32
+
33
+ # cleanup
34
+ rm -rf /emqtt-bench
You can’t perform that action at this time.
0 commit comments