Files
azure-cli/build
2025-12-21 13:50:07 +00:00

14 lines
407 B
Bash
Executable File

#!/usr/bin/env bash
# Find container runtime
if command -v docker &> /dev/null; then
echo "Using Dokcer as container runtime."
docker buildx build -t skoszewski/azure-cli:latest .
elif command -v container &> /dev/null; then
# Apple container command line tool
container build -t skoszewski/azure-cli:latest .
else
echo "Error: No usable container runtime was found." >&2
exit 1
fi