From 916302f3e5115ad429d59fbb34ec9cac1cfbba1c Mon Sep 17 00:00:00 2001 From: ahrav Date: Tue, 24 Oct 2023 19:39:18 -0700 Subject: [PATCH] add rpm2cpio as dependency to dockerfile (#1985) * add rpm2cpio as dependency to dockerfile * add dep --- Dockerfile | 2 +- Dockerfile.goreleaser | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 84ae5a24ae4f..89d60229cbce 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 16d181f9cc39..db663c467885 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 .