Skip to content

Commit

Permalink
Adding crypto_util and in_the_clear to RC docker
Browse files Browse the repository at this point in the history
  • Loading branch information
cberkhoff committed Dec 6, 2024
1 parent e667e78 commit 59e0496
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker/report_collector.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 59e0496

Please sign in to comment.