FROM golang:bullseye as builder RUN mkdir /empty FROM scratch COPY --from=builder /empty /tmp COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY trufflehog /usr/bin/trufflehog ENTRYPOINT ["/usr/bin/trufflehog"]