#!/usr/bin/env bash # Build the RE image only — no GUI/desktop stack started. This is all you need # for fully chat-driven, headless analysis (re-analyze / re-q / re-export / ...). # Use ./re-up instead if you ALSO want the Ghidra GUI over VNC. set -euo pipefail cd "$(dirname "$0")" docker compose build echo echo "Image ready. Headless workflow (no GUI needed):" echo " ./re-analyze # import + analyze" echo " ./re-q [args...] # live query" echo " ./re-export # bulk export to ./output/"