Use sha instead of latest for golint

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2022-12-09 09:51:22 +01:00
parent d2952b07aa
commit 079b47ed94

View File

@ -14,7 +14,7 @@
ARG GOLANG_VERSION=x.x.x ARG GOLANG_VERSION=x.x.x
FROM golang:${GOLANG_VERSION} FROM golang:${GOLANG_VERSION}
RUN go install golang.org/x/lint/golint@latest RUN go install golang.org/x/lint/golint@6edffad5e6160f5949cdefc81710b2706fbcd4f6
RUN go install github.com/matryer/moq@latest RUN go install github.com/matryer/moq@latest
RUN go install github.com/gordonklaus/ineffassign@latest RUN go install github.com/gordonklaus/ineffassign@latest
RUN go install github.com/client9/misspell/cmd/misspell@latest RUN go install github.com/client9/misspell/cmd/misspell@latest