apt-get install ca-certificates for the release image stage

This commit is contained in:
Deirdre Connolly 2020-12-04 05:54:18 -05:00 committed by Deirdre Connolly
parent c03a3a2606
commit 8f958e3c05
2 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,10 @@ RUN cargo test --all --release; cd zebrad/; cargo build --release --features ena
# Runner image
FROM debian:buster-slim AS zebrad-release
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates
COPY --from=builder /zebra/target/release/zebrad /
ARG CHECKPOINT_SYNC=true

View File

@ -2,7 +2,7 @@ FROM rust:buster
RUN apt-get update && \
apt-get install -y --no-install-recommends \
make cmake g++ gcc llvm libclang-dev clang ca-certificates
make cmake g++ gcc llvm libclang-dev clang
RUN mkdir /zebra
WORKDIR /zebra