gitlab-build-images/Dockerfile.golangci-lint-alpine
Ben Kochie b40a85d08c
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>
2021-02-22 12:45:38 +01:00

5 lines
236 B
Docker

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 bash
# Include a default .golangci.yml
COPY /assets/.golangci.yml /golangci/.golangci.yml