Skip to content

Commit

Permalink
Remove old crypto-cli tool from the ubuntu image (#2538)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcapriotti authored Jul 5, 2022
1 parent a40a039 commit 91c089f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
11 changes: 1 addition & 10 deletions build/ubuntu/Dockerfile.deps
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
export SODIUM_USE_PKG_CONFIG=1 && \
cargo build --release

# FUTUREWORK: remove core-crypto once #2508 is merged
# compile legacy core-crypto cli tool
RUN cd /tmp && \
apt-get install -y libssl-dev && \
git clone -b cli https://github.com/wireapp/core-crypto && \
cd core-crypto/cli && \
cargo build --release

# compile mls-test-cli tool
RUN cd /tmp && \
git clone https://github.com/wireapp/mls-test-cli && \
Expand All @@ -29,9 +21,8 @@ FROM ubuntu:20.04

COPY --from=cryptobox-builder /tmp/cryptobox-c/target/release/libcryptobox.so /usr/lib

# FUTUREWORK: only copy crypto-cli and mls-test-cli executables if we are building an
# FUTUREWORK: only copy mls-test-cli executables if we are building an
# integration test image
COPY --from=cryptobox-builder /tmp/core-crypto/cli/target/release/crypto-cli /usr/bin
COPY --from=cryptobox-builder /tmp/mls-test-cli/target/release/mls-test-cli /usr/bin

RUN export DEBIAN_FRONTEND=noninteractive && \
Expand Down
1 change: 1 addition & 0 deletions changelog.d/5-internal/remove-crypto-cli
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove old crypto-cli tool from the ubuntu image

0 comments on commit 91c089f

Please sign in to comment.