tcosolutions / betterscan

Code Scanning/SAST/Static Analysis/Linting using many tools/Scanners with One Report (Code, IaC) - Betterscan
https://betterscan.io
GNU Affero General Public License v3.0
818 stars 90 forks source link

git not found #190

Closed mattanimation closed 3 months ago

mattanimation commented 3 months ago

I think there may be an issue where git isn't installed on the latest container build? Every time I run the script I just get: /bin/sh: 1: git: not found for each call to checkmate in the script.

I've tried:

OS: MacOS Sonoma 14.5 Shell: bash and zsh Docker Desktop: latest version

marcinguy commented 3 months ago

Have the same error :)

marcinguy commented 3 months ago

Actually I have an error that checkmate is missing, despite being build in the image.

Status: Downloaded newer image for sunsolution/betterscan-worker-cli:latest
/bin/sh: 1: checkmate: not found
/bin/sh: 1: checkmate: not found
/bin/sh: 1: checkmate: not found
/bin/sh: 1: checkmate: not found

🤷‍♂️

mattanimation commented 3 months ago

can confirm that today running the script now has the same output:

Status: Downloaded newer image for sunsolution/betterscan-worker-cli:latest
/bin/sh: 1: checkmate: not found
/bin/sh: 1: checkmate: not found
/bin/sh: 1: checkmate: not found
/bin/sh: 1: checkmate: not found
marcinguy commented 3 months ago

I think I found the root cause of the issue. Rebuilding images now