From 08f916db482ead6c4d6de8ba542b3cd3aeeab9a9 Mon Sep 17 00:00:00 2001 From: Noel Georgi Date: Fri, 6 Aug 2021 15:17:35 +0530 Subject: [PATCH] feat: add trusted root CA's Signed-off-by: Noel Georgi --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 64a24e58..0c70f261 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,9 @@ USER 1234 COPY --from=builder /app/LICENSE.md . COPY --from=builder /app/build/policyreporter /app/policyreporter +# copy the debian's trusted root CA's to the final image +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt EXPOSE 2112 -ENTRYPOINT ["/app/policyreporter", "run"] \ No newline at end of file +ENTRYPOINT ["/app/policyreporter", "run"]