File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,19 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
10
10
export SODIUM_USE_PKG_CONFIG=1 && \
11
11
cargo build --release
12
12
13
+ FROM rust:1.63 as mls-test-cli-builder
14
+
15
+ # compile mls-test-cli tool
16
+ RUN cd /tmp && \
17
+ git clone https://github.com/wireapp/mls-test-cli
18
+
19
+ RUN cd /tmp/mls-test-cli && RUSTFLAGS='-C target-feature=+crt-static' cargo install --bins --target x86_64-unknown-linux-gnu --path .
13
20
14
21
# Minimal dependencies for ubuntu-compiled, dynamically linked wire-server Haskell services
15
22
FROM ubuntu:20.04
16
23
17
24
COPY --from=cryptobox-builder /tmp/cryptobox-c/target/release/libcryptobox.so /usr/lib
25
+ COPY --from=mls-test-cli-builder /usr/local/cargo/bin/mls-test-cli /usr/bin/mls-test-cli
18
26
19
27
RUN export DEBIAN_FRONTEND=noninteractive && \
20
28
apt-get update && \
Original file line number Diff line number Diff line change
1
+ Add mls-test-cli to deps image
You can’t perform that action at this time.
0 commit comments