mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[PR #1860] fix(docker): Rewrite Dockerfile to fix broken builds #2630
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1860
State: closed
Merged: Yes
Summary
Fixes #1550 - Docker builds were broken after PR #1535 switched from vendored GPAC to system GPAC.
Key Changes
BUILD_TYPEargument:minimal: No OCR support (~130MB image)ocr(default): Tesseract OCR for bitmap subtitles (~215MB image)hardsubx: OCR + FFmpeg for burned-in subtitle extraction (~610MB image)USE_LOCAL_SOURCEargument:0(default): Clone from GitHub (standalone Dockerfile usage)1: Use local source (faster builds for developers with cloned repo).dockerignore: Reduces build context from ~2.7GB to ~900KBdocker/README.md: Comprehensive documentation for all build optionsBuild Examples
Test plan
minimalvariantocrvarianthardsubxvariant--versionoutput shows correct library versions for each variant🤖 Generated with Claude Code