From 38e7bb3ce819fe68767c403e5b0b14ab2e30dcb5 Mon Sep 17 00:00:00 2001 From: Fabian Wiesel Date: Wed, 3 Dec 2025 11:26:38 +0100 Subject: [PATCH] Bump golang to 1.25.5 Fixes CVE-2025-61729 and CVE-2025-61727 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b86e5f85..20a24dfb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2025 SAP SE or an SAP affiliate company # SPDX-License-Identifier: Apache-2.0 -FROM golang:1.25.4-alpine3.22 AS builder +FROM golang:1.25.5-alpine3.22 AS builder RUN apk add --no-cache --no-progress ca-certificates gcc git make musl-dev @@ -14,7 +14,7 @@ RUN make -C /src install PREFIX=/pkg GOTOOLCHAIN=local # To only build the tests run: docker build . --target test # We can't do `FROM builder AS test` here, as then make prepare-static-check would not be cached during interactive use when developing # and caching all the tools, especially golangci-lint, takes a few minutes. -FROM golang:1.25.4-alpine3.22 AS test +FROM golang:1.25.5-alpine3.22 AS test COPY Makefile /src/Makefile