From 792b3c9119add6a49c99b4fa873b66c4dd23e6d4 Mon Sep 17 00:00:00 2001 From: Luca Steeb Date: Wed, 15 Jan 2025 21:12:23 +0000 Subject: [PATCH] ci(docker): add missing ca-certificates and SSL certs copy (#2914) Ensure ca-certificates are installed and copied to the base image to support secure HTTPS connections where required. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a3334f2cce..992336de23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM debian:bookworm-slim as builder -RUN apt-get update && apt install -y git libtool automake autoconf make tini +RUN apt-get update && apt install -y git libtool automake autoconf make tini ca-certificates RUN git clone https://github.com/Comcast/Infinite-File-Curtailer.git curtailer \ && cd curtailer \ @@ -16,6 +16,8 @@ RUN git clone https://github.com/Comcast/Infinite-File-Curtailer.git curtailer \ FROM debian:bookworm-slim as base +COPY --from=builder /etc/ssl/certs /etc/ssl/certs + COPY --from=builder /usr/bin/tini /tini ENTRYPOINT ["/tini", "--"]