mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
fix dockerfiles
This commit is contained in:
parent
0570e0fea4
commit
2f006f5590
2 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,7 @@ COPY . .
|
|||
RUN CGO_ENABLED=0 go build -a -o trufflehog main.go
|
||||
|
||||
FROM alpine:3.15
|
||||
RUN apk add --no-cache git; mkdir /tmp
|
||||
RUN apk add --no-cache 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"]
|
||||
|
|
|
@ -2,7 +2,6 @@ FROM alpine:3.15
|
|||
|
||||
RUN apk add --no-cache git
|
||||
WORKDIR /usr/bin/
|
||||
RUN mkdir /tmp
|
||||
COPY trufflehog .
|
||||
|
||||
ENTRYPOINT ["/usr/bin/trufflehog"]
|
||||
|
|
Loading…
Reference in a new issue