From b19d6dd1ed089c9542d0238d26e96a56a9af452c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 26 Jul 2024 21:14:34 +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-GLIBC-1296899 - https://snyk.io/vuln/SNYK-DEBIAN10-GLIBC-2340923 --- scripts/tooling/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tooling/Dockerfile b/scripts/tooling/Dockerfile index ee23b99df37..37429306707 100644 --- a/scripts/tooling/Dockerfile +++ b/scripts/tooling/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.14 as builder +FROM golang:1.23rc2 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.23rc2 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