1
0
mirror of https://github.com/netbox-community/netbox-docker.git synced 2025-04-18 22:24:03 +03:00
netbox-docker/build-functions/check-commands.sh
2023-03-15 13:02:25 +01:00

10 lines
213 B
Bash

#!/bin/bash
NEEDED_COMMANDS="curl jq docker skopeo"
for c in $NEEDED_COMMANDS; do
if ! command -v "$c" &>/dev/null; then
echo "⚠️ '$c' is not installed. Can't proceed with build."
exit 1
fi
done