fix dockerfiles
Lint / lint (push) Waiting to run
Release / Release (push) Waiting to run
Scan for secrets / test (push) Waiting to run
Snifftest / Run Snifftest (push) Waiting to run
Test / test (push) Waiting to run
Test / test-detectors (push) Waiting to run

This commit is contained in:
Dustin Decker
2022-06-13 19:45:24 -07:00
parent 0570e0fea4
commit 2f006f5590
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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"]
-1
View File
@@ -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"]