trufflehog/Dockerfile.goreleaser

8 lines
255 B
Docker
Raw Normal View History

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"]