From ff29c24286e5ade39526e81bcfda5df5d406badb Mon Sep 17 00:00:00 2001 From: Neelesh Jain Date: Mon, 8 Jul 2024 21:51:06 -0700 Subject: [PATCH 1/2] Bump alpine to 3.20.1 to fix CVEs --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0c552536..f0ca48b5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -36,7 +36,7 @@ ENTRYPOINT [ "/redis_exporter" ] # # Alpine release container # -FROM --platform=linux/$GOARCH alpine:3.20.0 as alpine +FROM --platform=linux/$GOARCH alpine:3.20.1 as alpine COPY --from=builder /redis_exporter /redis_exporter COPY --from=builder /etc/ssl/certs /etc/ssl/certs From b0c2f5a1f107c53419caf2cb866ad02ea80d980a Mon Sep 17 00:00:00 2001 From: Neelesh Jain Date: Mon, 15 Jul 2024 13:57:15 -0700 Subject: [PATCH 2/2] Switch to specifying just the minor version - so we pull the latest patch on next build --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index f0ca48b5..6fda93e4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -36,7 +36,7 @@ ENTRYPOINT [ "/redis_exporter" ] # # Alpine release container # -FROM --platform=linux/$GOARCH alpine:3.20.1 as alpine +FROM --platform=linux/$GOARCH alpine:3.20 as alpine COPY --from=builder /redis_exporter /redis_exporter COPY --from=builder /etc/ssl/certs /etc/ssl/certs