Add golangci-lint to personal image
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
becc9bf0b1
commit
ed86768fc3
@ -6,3 +6,4 @@ COPY ./scripts /scripts
|
||||
|
||||
# Bundle hadolint
|
||||
RUN /scripts/add_hadolint.sh
|
||||
RUN /scripts/add_golangci_lint.sh
|
||||
|
5
scripts/add_golangci_lint.sh
Executable file
5
scripts/add_golangci_lint.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#! /bin/bash
|
||||
|
||||
VERSION=v1.35.2
|
||||
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "/usr/local/bin" "${VERSION}"
|
Loading…
Reference in New Issue
Block a user