Skip to content

Commit 08cf10e

Browse files
authored
chore: fix golangci-lint to 1.44 to fix build error (argoproj#1917)
Signed-off-by: Jesse Suen <[email protected]>
1 parent 676c865 commit 08cf10e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ RUN apt-get update && apt-get install -y \
1212
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1313

1414
# Install golangci-lint
15-
RUN wget https://install.goreleaser.com/github.com/golangci/golangci-lint.sh && \
16-
chmod +x ./golangci-lint.sh && \
17-
./golangci-lint.sh -b $GOPATH/bin && \
15+
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.44.0 && \
1816
golangci-lint linters
1917

2018
COPY .golangci.yml ${GOPATH}/src/dummy/.golangci.yml

0 commit comments

Comments
 (0)