diff --git a/Dockerfile b/Dockerfile index 992c52433c..44161bac51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -146,7 +146,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.20.1 +ARG DELVE_VERSION=v1.21.1 RUN git fetch -q --depth 1 origin "${DELVE_VERSION}" +refs/tags/*:refs/tags/* && git checkout -q FETCH_HEAD FROM base AS delve-build