Install ca-certificates for HTTPS requests

This commit is contained in:
Arnaud Rebts 2020-11-14 13:15:56 +01:00 committed by Cecile Tonglet
parent 33afafc879
commit ec2740bbab

View file

@ -10,7 +10,7 @@ LABEL org.opencontainers.image.source https://github.com/deps-rs/deps.rs
RUN set -ex; \ RUN set -ex; \
apt-get update; \ apt-get update; \
DEBIAN_FRONTEND=noninteractive \ DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends libssl-dev; \ apt-get install -y --no-install-recommends ca-certificates libssl-dev; \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
COPY --from=build /usr/local/cargo/bin/shiny-robots /usr/local/bin COPY --from=build /usr/local/cargo/bin/shiny-robots /usr/local/bin