gitlab-build-images/Dockerfile.golangci-lint-alpine
Hayley Swimelar 47b2b8d529 Include jq in golangci-lint-alpine
The codequality report format is in json, adding the jq utility
will enable users to query, manipulate, and analyze the results
of the report. Example:
https://gitlab.com/gitlab-org/gitlab/merge_requests/20404#note_262017873

Related to:
https://gitlab.com/gitlab-org/gitlab/merge_requests/20404
2019-12-18 10:18:54 -08:00

5 lines
229 B
Docker

FROM golangci/golangci-lint:v1.21-alpine
# git must be installed for golangci-lint's --new-from-rev flag to work.
RUN apk --no-cache add git jq
# Include a default .golangci.yml
COPY /assets/.golangci.yml /golangci/.golangci.yml