Update golangci-lint

* Bump to latest golangci-lint version.
* Add bash to image to allow `set -o pipefail` to be used.

Related to https://gitlab.com/gitlab-org/labkit/-/merge_requests/112

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2021-02-22 12:45:38 +01:00
parent ab8f6f2046
commit b40a85d08c
No known key found for this signature in database
GPG key ID: C646B23C9E3245F1

View file

@ -1,5 +1,5 @@
FROM golangci/golangci-lint:v1.28.1-alpine
FROM golangci/golangci-lint:v1.37.0-alpine
# git must be installed for golangci-lint's --new-from-rev flag to work.
RUN apk --no-cache add git jq
RUN apk --no-cache add git jq bash
# Include a default .golangci.yml
COPY /assets/.golangci.yml /golangci/.golangci.yml