mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
8 lines
No EOL
255 B
Docker
8 lines
No EOL
255 B
Docker
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"] |