Skip to content

Commit 2f006f5

Browse files
committed
fix dockerfiles
1 parent 0570e0f commit 2f006f5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ COPY . .
77
RUN CGO_ENABLED=0 go build -a -o trufflehog main.go
88

99
FROM alpine:3.15
10-
RUN apk add --no-cache git; mkdir /tmp
10+
RUN apk add --no-cache git
1111
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
1212
COPY --from=builder /build/trufflehog /usr/bin/trufflehog
1313
ENTRYPOINT ["/usr/bin/trufflehog"]

Dockerfile.goreleaser

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ FROM alpine:3.15
22

33
RUN apk add --no-cache git
44
WORKDIR /usr/bin/
5-
RUN mkdir /tmp
65
COPY trufflehog .
76

87
ENTRYPOINT ["/usr/bin/trufflehog"]

0 commit comments

Comments
 (0)