Files
azure-cli/build
2025-12-12 12:06:26 +01:00

18 lines
429 B
Bash
Executable File

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