Adding sources.
This commit is contained in:
17
build
Executable file
17
build
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/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 .
|
||||
Reference in New Issue
Block a user