add arm64 support to install.sh (#480)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman 2021-10-25 18:09:49 -04:00 committed by GitHub
parent d4bcf161b5
commit c9a1506ede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,8 +68,10 @@ execute() {
get_binaries() {
case "$PLATFORM" in
darwin/amd64) BINARIES="grype" ;;
darwin/arm64) BINARIES="grype" ;;
linux/amd64) BINARIES="grype" ;;
windows/amd64) BINARIES="grype" ;;
linux/arm64) BINARIES="grype" ;;
*)
log_crit "platform $PLATFORM is not supported. Make sure this script is up-to-date and file request at https://github.com/${PREFIX}/issues/new"
exit 1