Initial commit

This commit is contained in:
juergen committed 2026-11-13 11:50:48 +01:00
commit 2683eae6b3
36 files changed
+7369

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
IMAGE="${IMAGE:-localhost/wiki-print:latest}"
cd "$ROOT_DIR"
if ! podman info >/dev/null 2>&1; then
echo "Podman is not ready. Starting the Podman machine…"
podman machine start
fi
echo "Building ${IMAGE}…"
podman build --target production --tag "$IMAGE" .
echo "Built ${IMAGE}."