diff --git a/Containerfile b/Containerfile index 6a9ff7d..16fdfe1 100644 --- a/Containerfile +++ b/Containerfile @@ -1,6 +1,10 @@ # This file is used directly by the goreleaser build # It is used to build the final container image +FROM golang:alpine as build +RUN apk --no-cache --update add ca-certificates + FROM scratch WORKDIR / +COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY /butterrobot /usr/bin/butterrobot ENTRYPOINT ["/usr/bin/butterrobot"]