From d8885a1313568b7e4c8ea4b9e3b653d69c2fc038 Mon Sep 17 00:00:00 2001 From: Mark McGarry Date: Thu, 21 Jul 2022 16:48:55 +0100 Subject: [PATCH] Install ca certs --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 28fa7ee..163c2ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,12 @@ +FROM alpine:3 as base + +RUN apk add -U --no-cache ca-certificates + FROM scratch ADD bin/vaultcreds /vaultcreds +COPY --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ + ENTRYPOINT ["/vaultcreds"] -CMD [] \ No newline at end of file +CMD []