From 4ef0a253ca9d28cfdf7193df41cc578d7ffba299 Mon Sep 17 00:00:00 2001 From: Christian Berkhoff Date: Fri, 6 Dec 2024 02:05:57 +0000 Subject: [PATCH] Adding crypto_util and in_the_clear to RC docker --- docker/report_collector.Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docker/report_collector.Dockerfile b/docker/report_collector.Dockerfile index d0dff1a44..165b85266 100644 --- a/docker/report_collector.Dockerfile +++ b/docker/report_collector.Dockerfile @@ -7,14 +7,16 @@ ARG SOURCES_DIR WORKDIR "$SOURCES_DIR" COPY . . RUN set -eux; \ - cargo build --bin report_collector --release --no-default-features --features "cli test-fixture web-app real-world-infra compact-gate" + cargo build --bin in_the_clear --bin crypto_util --bin report_collector --release --no-default-features --features "cli test-fixture web-app real-world-infra compact-gate" # Copy them to the final image FROM rust:slim-bookworm -ENV RC_BIN_PATH=/usr/local/bin/report_collector +ENV RC_BIN_PATH=/usr/local/bin ENV CONF_DIR=/etc/ipa ARG SOURCES_DIR RUN apt-get update && apt-get install -y curl procps ca-certificates && rm -rf /var/lib/apt/lists/* -COPY --from=builder ${SOURCES_DIR}/target/release/report_collector $RC_BIN_PATH +COPY --from=builder ${SOURCES_DIR}/target/release/in_the_clear $RC_BIN_PATH/in_the_clear +COPY --from=builder ${SOURCES_DIR}/target/release/crypto_util $RC_BIN_PATH/crypto_util +COPY --from=builder ${SOURCES_DIR}/target/release/report_collector $RC_BIN_PATH/report_collector