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
This commit is contained in:
Hayley Swimelar 2019-12-18 10:18:54 -08:00
parent 7021485b65
commit 47b2b8d529

View file

@ -1,5 +1,5 @@
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
RUN apk --no-cache add git jq
# Include a default .golangci.yml
COPY /assets/.golangci.yml /golangci/.golangci.yml