From 469ed08ac182c6c1b1f4e6142843229e4c3ec1a7 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Fri, 27 Dec 2024 00:46:35 -0500 Subject: [PATCH] Add ca-certs --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1683c1d..d573c7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,8 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /newt # Start a new stage from scratch FROM ubuntu:22.04 AS runner +RUN apt-get update && apt-get install ca-certificates -y && rm -rf /var/lib/apt/lists/* + # Copy the pre-built binary file from the previous stage and the entrypoint script COPY --from=builder /newt /usr/local/bin/ COPY entrypoint.sh /