mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
Fixes #1550 - Docker builds were broken after PR #1535 switched from vendored GPAC to system GPAC. Changes: - Switch from Alpine to Debian Bookworm (Alpine's musl libc has issues with Rust bindgen's libclang dynamic loading) - Support three build variants via BUILD_TYPE argument: - minimal: No OCR support - ocr (default): Tesseract OCR for bitmap subtitles - hardsubx: OCR + FFmpeg for burned-in subtitle extraction - Support dual source modes via USE_LOCAL_SOURCE argument: - 0 (default): Clone from GitHub (standalone Dockerfile) - 1: Use local source (faster for developers) - Add .dockerignore to exclude build artifacts (~2.7GB -> ~900KB context) - Update README.md with comprehensive build instructions Tested all three variants successfully: - minimal: ~130MB image - ocr: ~215MB image - hardsubx: ~610MB image 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
38 lines
306 B
Plaintext
38 lines
306 B
Plaintext
# Build artifacts
|
|
linux/ccextractor
|
|
linux/rust/
|
|
linux/*.o
|
|
linux/*.a
|
|
mac/ccextractor
|
|
mac/rust/
|
|
build/
|
|
build_*/
|
|
|
|
# Git
|
|
.git/
|
|
.github/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Docker
|
|
docker/
|
|
|
|
# Documentation (not needed for build)
|
|
docs/
|
|
*.md
|
|
!README.md
|
|
|
|
# Test files
|
|
*.ts
|
|
*.mp4
|
|
*.mkv
|
|
*.srt
|
|
*.vtt
|
|
|
|
# Plans
|
|
plans/
|