From 08cf10e554fe99c24c8a37ad07fadd9318e4c8a1 Mon Sep 17 00:00:00 2001 From: Jesse Suen Date: Mon, 21 Mar 2022 13:45:35 -0700 Subject: [PATCH] chore: fix golangci-lint to 1.44 to fix build error (#1917) Signed-off-by: Jesse Suen --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 88e0768b16..c2ac9a90f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,7 @@ RUN apt-get update && apt-get install -y \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Install golangci-lint -RUN wget https://install.goreleaser.com/github.com/golangci/golangci-lint.sh && \ - chmod +x ./golangci-lint.sh && \ - ./golangci-lint.sh -b $GOPATH/bin && \ +RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.44.0 && \ golangci-lint linters COPY .golangci.yml ${GOPATH}/src/dummy/.golangci.yml