mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-22 16:03:10 +01:00
10 lines
213 B
Bash
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
|