Remove --from=builder and copy the binary from the local directory (#119)

Co-authored-by: Miccah Castorina <miccah.castorina@trufflesec.com>
This commit is contained in:
Miccah 2022-04-01 13:47:40 -05:00 committed by GitHub
parent f28edd7a51
commit 2c16880de4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,4 @@
FROM alpine
RUN apk add git
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /build/trufflehog /usr/bin/trufflehog
ENTRYPOINT ["/usr/bin/trufflehog"]
COPY trufflehog /usr/bin/trufflehog
ENTRYPOINT ["/usr/bin/trufflehog"]