From f8cf68af83a67d6383902496b17b70139d794676 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Mon, 22 Aug 2022 07:56:18 -0500 Subject: [PATCH] Add entrypoint and CA certificates to Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9c64030..869b1ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,6 @@ COPY . . RUN CGO_ENABLED=0 go build ./cmd/bb FROM scratch AS bin -COPY --from=build /src/bb / \ No newline at end of file +COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ +COPY --from=build /src/bb / +ENTRYPOINT ["/bb"]