#!/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