Added Docker/Podman build information.

This commit is contained in:
2025-08-14 21:30:56 +02:00
parent 73c87a733b
commit d2abe3fd27
9 changed files with 148 additions and 1 deletions

15
run-container.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
if [ -z "$AZURE_CLIENT_ID" ] || [ -z "$AZURE_TENANT_ID" ] || [ -z "$AZURE_CLIENT_SECRET" ] || [ -z "$AZURE_SUBSCRIPTION_ID" ]; then
echo "One or more environment variables are not set."
exit 1
fi
podman run --rm \
-it \
-e AZURE_CLIENT_ID="$AZURE_CLIENT_ID" \
-e AZURE_TENANT_ID="$AZURE_TENANT_ID" \
-e AZURE_CLIENT_SECRET="$AZURE_CLIENT_SECRET" \
-e AZURE_SUBSCRIPTION_ID="$AZURE_SUBSCRIPTION_ID" \
-p 8501:8501 \
azure-image-chooser