Fixed issues with setting up colored Bash prompt supporting displaying Git repository information.
All checks were successful
Build Docker Image / build (push) Successful in 38s

This commit is contained in:
2025-12-21 13:50:07 +00:00
parent b908f3f1f0
commit e6b4fdec1a
5 changed files with 65 additions and 53 deletions

12
build
View File

@@ -1,17 +1,13 @@
#!/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"
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
CMD="container"
container build -t skoszewski/azure-cli:latest .
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 .