Skip to content

Find, verify, and analyze leaked credentials

add rpm2cpio as dependency to dockerfile (#1985)

ahrave2dccc479988
diff --git a/Dockerfile b/Dockerfile
index 84ae5a24a..89d60229c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,7 +9,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o trufflehog .
FROM alpine:3.18
-RUN apk add --no-cache bash git openssh-client ca-certificates \
+RUN apk add --no-cache bash git openssh-client ca-certificates rpm2cpio \
&& rm -rf /var/cache/apk/* && update-ca-certificates
COPY --from=builder /build/trufflehog /usr/bin/trufflehog
COPY entrypoint.sh /etc/entrypoint.sh
diff --git a/Dockerfile.goreleaser b/Dockerfile.goreleaser
index 16d181f9c..db663c467 100644
--- a/Dockerfile.goreleaser
+++ b/Dockerfile.goreleaser
@@ -1,6 +1,6 @@
FROM alpine:3.18
-RUN apk add --no-cache bash git openssh-client ca-certificates \
+RUN apk add --no-cache bash git openssh-client ca-certificates rpm2cpio \
&& rm -rf /var/cache/apk/* && update-ca-certificates
WORKDIR /usr/bin/
COPY trufflehog .