Skip to content

Commit 22a8685

Browse files
authored
Add mls-test-cli to deps image (#2630)
1 parent 70f5e3e commit 22a8685

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

build/ubuntu/Dockerfile.deps

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,19 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
1010
export SODIUM_USE_PKG_CONFIG=1 && \
1111
cargo build --release
1212

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 .
1320

1421
# Minimal dependencies for ubuntu-compiled, dynamically linked wire-server Haskell services
1522
FROM ubuntu:20.04
1623

1724
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
1826

1927
RUN export DEBIAN_FRONTEND=noninteractive && \
2028
apt-get update && \
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add mls-test-cli to deps image

0 commit comments

Comments
 (0)