mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
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:
parent
f28edd7a51
commit
2c16880de4
1 changed files with 2 additions and 3 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue