From ae46538dc6294d5b9216e679b32eec885b32017b Mon Sep 17 00:00:00 2001 From: miam-miam100 <49870539+miam-miam100@users.noreply.github.com> Date: Wed, 6 Mar 2024 15:55:19 +0000 Subject: [PATCH] Include ca certificates --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6265d0a..730ae77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM rust:1.76-buster as build -RUN apt-get update && apt-get -y install libssl-dev openssl && apt upgrade -y openssl && apt clean && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get -y install libssl-dev openssl ca-certificates tzdata && apt upgrade -y openssl && apt clean && rm -rf /var/lib/apt/lists/* # create a new empty shell project RUN USER=root cargo new --bin verify-bot @@ -25,7 +25,7 @@ RUN cargo build --release # our final base FROM debian:buster -RUN apt-get update && apt-get -y install libssl-dev openssl && apt upgrade -y openssl && apt clean && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get -y install libssl-dev openssl ca-certificates tzdata && apt upgrade -y openssl && apt clean && rm -rf /var/lib/apt/lists/* # copy the build artifact from the build stage COPY --from=build /verify-bot/target/release/verify-bot .