From fb2117987d316ef31e5d6a1065e38713b755f16e Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 13 Jul 2025 17:33:31 +0200 Subject: [PATCH] Dockerfile: upgrade Delve to v1.25.0 Update to the latest version: - https://github.com/go-delve/delve/releases/tag/v1.25.0 - https://github.com/go-delve/delve/blob/v1.25.0/CHANGELOG.md#1250-2025-04-16 Also update links to supported platforms. Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ff93e18d5..bf3820dd33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,8 +34,8 @@ ARG DOCKER_STATIC=1 ARG REGISTRY_VERSION=3.0.0 # delve is currently only supported on linux/amd64 and linux/arm64; -# https://github.com/go-delve/delve/blob/v1.24.1/pkg/proc/native/support_sentinel.go#L1 -# https://github.com/go-delve/delve/blob/v1.24.1/pkg/proc/native/support_sentinel_linux.go#L1 +# https://github.com/go-delve/delve/blob/v1.25.0/pkg/proc/native/support_sentinel.go#L1 +# https://github.com/go-delve/delve/blob/v1.25.0/pkg/proc/native/support_sentinel_linux.go#L1 # # ppc64le support was added in v1.21.1, but is still experimental, and requires # the "-tags exp.linuxppc64le" build-tag to be set: @@ -135,7 +135,7 @@ RUN git init . && git remote add origin "https://github.com/go-delve/delve.git" # from the https://github.com/go-delve/delve repository. # It can be used to run Docker with a possibility of # attaching debugger to it. -ARG DELVE_VERSION=v1.24.1 +ARG DELVE_VERSION=v1.25.0 RUN git fetch -q --depth 1 origin "${DELVE_VERSION}" +refs/tags/*:refs/tags/* && git checkout -q FETCH_HEAD FROM base AS delve-supported