Dockerfile: update golangci-lint to 1.48.0 (go 1.19 support)

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1265/head
CrazyMax 2 years ago
parent 3509a1a7ff
commit 2a13491919
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -4,7 +4,7 @@ ARG GO_VERSION=1.19
FROM golang:${GO_VERSION}-alpine
RUN apk add --no-cache git gcc musl-dev
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.45.2
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.48.0
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

Loading…
Cancel
Save