Skip to content

Find, verify, and analyze leaked credentials

chore(deps): update alpine docker tag to v3.22 (#4307)

renovate[bot]8921e938300f
diff --git a/Dockerfile b/Dockerfile
index 34922b6be..88f948949 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o trufflehog .
-FROM alpine:3.21
+FROM alpine:3.22
RUN apk add --no-cache bash git openssh-client ca-certificates rpm2cpio binutils cpio \
&& rm -rf /var/cache/apk/* && update-ca-certificates
COPY --from=builder /build/trufflehog /usr/bin/trufflehog
diff --git a/Dockerfile.goreleaser b/Dockerfile.goreleaser
index 44caf62a6..c7da19f6a 100644
--- a/Dockerfile.goreleaser
+++ b/Dockerfile.goreleaser
@@ -1,4 +1,4 @@
-FROM alpine:3.21
+FROM alpine:3.22
RUN apk add --no-cache bash git openssh-client ca-certificates \
&& rm -rf /var/cache/apk/* && update-ca-certificates