From d1aa513af8c02e91a2f25fc5243c03741f26fe92 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 28 Dec 2024 01:36:35 +0000 Subject: [PATCH] fix: scripts/tooling/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN10-NGHTTP2-5953390 - https://snyk.io/vuln/SNYK-DEBIAN10-SYSTEMD-3339153 - https://snyk.io/vuln/SNYK-DEBIAN10-SYSTEMD-3339153 - https://snyk.io/vuln/SNYK-DEBIAN10-PYTHON27-1063178 - https://snyk.io/vuln/SNYK-DEBIAN10-PYTHON27-5853772 --- scripts/tooling/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tooling/Dockerfile b/scripts/tooling/Dockerfile index ee23b99df37..fe3660e10ef 100644 --- a/scripts/tooling/Dockerfile +++ b/scripts/tooling/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.14 as builder +FROM golang:1.24rc1 as builder ENV JSONNET_VERSION v0.15.0 # This corresponds to v2.16.0, but needs to be written as commit hash due to golang 1.13 issues @@ -28,7 +28,7 @@ WORKDIR /go/src/github.com/prometheus-operator/prometheus-operator COPY . . RUN GO111MODULE=on make po-lint && chmod +x po-lint && mv po-lint /go/bin/ -FROM golang:1.14 +FROM golang:1.24rc1 RUN apt-get update -y && apt-get install -y make git jq gawk python-yaml && \ rm -rf /var/lib/apt/lists/* COPY --from=builder /usr/local/bin/jsonnetfmt /usr/local/bin/jsonnetfmt