1 #!/bin/sh2 # 11_compose: the compose control starts the mock as a sibling, serves the3 # catalogue, keeps its token and state, and passes the container gate without4 # a plugin binary in the control image.5 set -eu6 7 root=$(cd "$(dirname "$0")/../../.." && pwd)8 cd "$root"9 # 08_image builds the control image from this checkout; use that image so the10 # proof cannot silently exercise a stale local compose tag.11 export INF3R_CONTROL_IMAGE=${INF3R_CONTROL_IMAGE:-inf3r:ci}12 if ! command -v docker >/dev/null 2>&1; then13 echo "11_compose: docker is required" >&214 exit 115 fi16 if ! docker compose version >/dev/null 2>&1; then17 echo "11_compose: docker compose is required" >&218 exit 119 fi20 ./ops/compose-proof.sh