You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(docker): replace PyPI opencv wheel with ffmpeg-free build [security]
Mirrors Unstructured-IO/unstructured#4336. After uv sync, the Dockerfile
now downloads a source-built opencv-contrib-python-headless wheel
(WITH_FFMPEG=OFF) from the upstream release, hash-verifies it, and
substitutes it for the PyPI opencv variant installed from uv.lock. This
eliminates the 14 bundled ffmpeg 5.1.x CVEs shipped in PyPI opencv wheels.
Bumps service version 0.1.3 -> 0.1.4.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
## 0.1.4
2
+
3
+
### Security
4
+
5
+
-**Replace PyPI opencv wheels with ffmpeg-free builds in Docker image**: After `uv sync`, the Dockerfile now substitutes the installed PyPI opencv-python variant with a source-built `opencv-contrib-python-headless` wheel compiled with `WITH_FFMPEG=OFF`, eliminating 14 bundled ffmpeg CVEs. The contrib-headless variant is a strict superset of the cv2 API (core + contrib modules, no GUI) and can transparently replace `opencv-python`, `opencv-python-headless`, or `opencv-contrib-python`. Wheel is downloaded from the upstream `Unstructured-IO/unstructured` release and hash-verified. Mirrors [unstructured#4336](https://github.com/Unstructured-IO/unstructured/pull/4336).
0 commit comments