Skip to content

Find, verify, and analyze leaked credentials

Remove additional apk clean up in Dockerfile (#1440)

Peter Dave Hello7a55a146a30f
diff --git a/Dockerfile b/Dockerfile
index ace30bec6..2f9262948 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,8 +10,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
FROM alpine:3.15
RUN apk add --no-cache bash git openssh-client ca-certificates \
- && rm -rf /var/cache/apk/* && \
- update-ca-certificates
+ && update-ca-certificates
COPY --from=builder /build/trufflehog /usr/bin/trufflehog
COPY entrypoint.sh /etc/entrypoint.sh
RUN chmod +x /etc/entrypoint.sh