Add golangci-lint to personal image
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
IamTheFij 2021-02-02 13:59:15 -08:00
parent becc9bf0b1
commit ed86768fc3
2 changed files with 6 additions and 0 deletions

View File

@ -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
View 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}"