#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=lib.sh
source "${SCRIPT_DIR}/lib.sh"

require_cmd docker

require_cmd git

if ! docker compose version >/dev/null 2>&1; then
  echo "docker compose plugin not available; please install docker compose v2" >&2
  exit 1
fi

echo "OK: docker + docker compose + git"
