Add entrypoint and CA certificates to Dockerfile

This commit is contained in:
Ryan Cavicchioni 2022-08-22 07:56:18 -05:00
parent b2f69ed2f7
commit f8cf68af83
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -4,4 +4,6 @@ COPY . .
RUN CGO_ENABLED=0 go build ./cmd/bb RUN CGO_ENABLED=0 go build ./cmd/bb
FROM scratch AS bin FROM scratch AS bin
COPY --from=build /src/bb / COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /src/bb /
ENTRYPOINT ["/bb"]