From 3c3d92ba3703e65acef7cf52ddec33dd403b0622 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Mon, 17 Apr 2023 13:09:57 +0300 Subject: [PATCH] correct delve version for older Go versions --- 1.16-3.13/Dockerfile | 2 +- 1.16/Dockerfile | 2 +- 1.17-3.13/Dockerfile | 2 +- 1.17/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/1.16-3.13/Dockerfile b/1.16-3.13/Dockerfile index 14a80c2..3bb4597 100644 --- a/1.16-3.13/Dockerfile +++ b/1.16-3.13/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.16-alpine3.13 RUN set -eux; \ apk add --no-cache bash make git gcc libc-dev jq curl dumb-init && \ - go install github.com/go-delve/delve/cmd/dlv@latest && \ + go install github.com/go-delve/delve/cmd/dlv@v1.9.0 && \ go install github.com/cosmtrek/air@v1.27.8 && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ diff --git a/1.16/Dockerfile b/1.16/Dockerfile index cad7c28..ecd77c5 100644 --- a/1.16/Dockerfile +++ b/1.16/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.16-alpine RUN set -eux; \ apk add --no-cache bash make git gcc libc-dev jq curl dumb-init && \ - go install github.com/go-delve/delve/cmd/dlv@latest && \ + go install github.com/go-delve/delve/cmd/dlv@v1.9.0 && \ go install github.com/cosmtrek/air@v1.27.8 && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ diff --git a/1.17-3.13/Dockerfile b/1.17-3.13/Dockerfile index ad282ff..7c93346 100644 --- a/1.17-3.13/Dockerfile +++ b/1.17-3.13/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.17-alpine3.13 RUN set -eux; \ apk add --no-cache bash make git gcc libc-dev jq curl dumb-init && \ - go install github.com/go-delve/delve/cmd/dlv@latest && \ + go install github.com/go-delve/delve/cmd/dlv@v1.9.1 && \ go install github.com/cosmtrek/air@v1.40.0 && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \ diff --git a/1.17/Dockerfile b/1.17/Dockerfile index 5900fbf..1592d2f 100644 --- a/1.17/Dockerfile +++ b/1.17/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.17-alpine RUN set -eux; \ apk add --no-cache bash make git gcc libc-dev jq curl dumb-init && \ - go install github.com/go-delve/delve/cmd/dlv@latest && \ + go install github.com/go-delve/delve/cmd/dlv@v1.9.1 && \ go install github.com/cosmtrek/air@v1.40.0 && \ go install github.com/jstemmer/go-junit-report@latest && \ go install github.com/axw/gocov/gocov@latest && \