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

This commit is contained in:
slawek committed 2025-12-21 13:50:07 +00:00
1 parent b908f3f1f0
commit e6b4fdec1a
5 files changed
+65 -53

No files matched your search

+4 -8
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 .