Rewrite CI test job around a pre-baked Docker Hub image
Every push was paying apt-get + pip install + ffmpeg-download cost fresh, even with caching helping at the margins. Complete rewrite: Dockerfile.ci now bakes ffmpeg, libsndfile1, and the full requirements.txt into one image, built and pushed to Docker Hub by the manual build_ci_image job. The test job itself no longer does apt-get, pip install, or any download at all - it just pulls that image and runs pytest directly. Verified before pushing (no docker available locally to build-test with): every requirements.txt package that could plausibly need compilation (tgcrypto, pedalboard, pyrogram, shazamio/shazamio-core) has a prebuilt manylinux2014_x86_64/cp310 wheel, so no gcc/build-essential is needed in the image. Needs DOCKERHUB_USER + DOCKERHUB_TOKEN as CI/CD variables before build_ci_image can push anywhere - GitLab's own Container Registry isn't available on this instance (confirmed earlier), Docker Hub is (this runner already pulls python:3.10-slim from it successfully). Co-Authored-By:Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
Showing
Dockerfile.ci
0 → 100644
Please
register
or
sign in
to comment