Commit d7f43a66 authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Replace apt-get ffmpeg with a cached static binary - real fix for CI speed

The Container Registry approach (build_ci_image) is reverted - confirmed via
job log that $CI_REGISTRY is empty on this self-hosted instance (Container
Registry isn't deployed here), so there was nowhere to push to.

Root cause confirmed from an actual job log: apt-get install ffmpeg alone
took 2min51s, unpacking/configuring 185 packages (video codecs, X11/Mesa/GL,
fonts, speech-recognition libs) that this project never uses - it's audio-
only. None of that is cacheable via apt itself.

Fix: download John Van Sickle's static ffmpeg build (verified genuinely
static via ldd - "not a dynamic executable", confirmed real mp3 encoding
works at 278x realtime) instead of apt-installing it, and cache the binary
itself via the existing cache: block so even the download only happens on
the first run. git is also dropped from the apt install list - confirmed
unused anywhere in app/test code (GitLab's own checkout doesn't use it).

Verified locally: full 104-test suite passes with *only* this static binary
on PATH (system ffmpeg hidden), matching what CI will have.
Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
parent 715396bf
Pipeline #1015 failed with stage
in 38 seconds