stackrox / kube-linter

KubeLinter is a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure the applications represented in them adhere to best practices.
https://docs.kubelinter.io/
Apache License 2.0
2.95k stars 234 forks source link

'make build' on clean Mac with GoLang fails with " /bin/bash: packr: command not found" #29

Closed tdensmore closed 3 years ago

tdensmore commented 3 years ago

Catalina 10.15.7 Golang: go version go1.15.3 darwin/amd64

~/w/r/kube-linter ❯❯❯brew install go ==> Downloading https://homebrew.bintray.com/bottles/go-1.15.3.catalina.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/6bd0119a31c1ae26831105490a67b97bed5d0fd2c6ad140cdf4c84aa7a315af2?response-content-disposition=attachment%3Bfilename%3D%22go-1.15.3.catalina.bottle.tar.gz%22&Policy=eyJTdGF0 ######################################################################## 100.0% ==> Pouring go-1.15.3.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/go/1.15.3: 9,780 files, 494.3MB ~/w/r/kube-linter ❯❯❯ make build

viswajithiii commented 3 years ago

Hi @tdensmore, thanks for filing this. Definitely not expected. What are the contents of the /Users/todd/workspace/replicated/kube-linter/.gobin directory?

viswajithiii commented 3 years ago

Hi @tdensmore, I think I identified the issue. I've pushed a fix to main. Can you confirm if this is fixed after you pull?

tdensmore commented 3 years ago

Yep. 👍 Fixed.

viswajithiii commented 3 years ago

Awesome! Closing this issue. Thanks for reporting it!