Skip to content

Commit

Permalink
add rpm2cpio as dependency to dockerfile (trufflesecurity#1985)
Browse files Browse the repository at this point in the history
* add rpm2cpio as dependency to dockerfile

* add dep
  • Loading branch information
ahrav authored and Phoenix591 committed Oct 27, 2023
1 parent 6cf1143 commit 916302f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.goreleaser
Original file line number Diff line number Diff line change
@@ -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 .
Expand Down

0 comments on commit 916302f

Please sign in to comment.