From a648d58f63a77cd5caf51420acbf26f6bffa0f23 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Tue, 5 Apr 2022 17:24:37 -0700 Subject: [PATCH] hack: update linters Signed-off-by: Tonis Tiigi --- hack/dockerfiles/lint.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/dockerfiles/lint.Dockerfile b/hack/dockerfiles/lint.Dockerfile index 321ef43f..61ecb369 100644 --- a/hack/dockerfiles/lint.Dockerfile +++ b/hack/dockerfiles/lint.Dockerfile @@ -3,8 +3,8 @@ ARG GO_VERSION=1.18 FROM golang:${GO_VERSION}-alpine -RUN apk add --no-cache gcc musl-dev yamllint -RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.36.0 +RUN apk add --no-cache git gcc musl-dev yamllint +RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.45.2 WORKDIR /go/src/github.com/docker/buildx RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \ golangci-lint run