VOL-1768

Add golangci-lint tool

Change-Id: Ia348b78a8bfc62a126146392415ea65c32a62a7b
diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh
index d31da0e..76212c7 100644
--- a/packer/provision/basebuild.sh
+++ b/packer/provision/basebuild.sh
@@ -200,6 +200,10 @@
       go install -ldflags="-X main.version=0.5.2" ./cmd/dep
     popd
 
+    # golangci-lint for testing
+    #  https://github.com/golangci/golangci-lint#local-installation
+    GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.17.1
+
     # protoc-gen-go - Golang protbuf compiler extension for protoc (installed
     # below)
     go get -d -u github.com/golang/protobuf/protoc-gen-go