fix: build errors for OpenCV
Some checks failed
Deploy to Staging / Build Images (pull_request) Failing after 3m16s
Deploy to Staging / Deploy to Staging (pull_request) Has been skipped
Deploy to Staging / Verify Staging (pull_request) Has been skipped
Deploy to Staging / Notify Staging Ready (pull_request) Has been skipped
Deploy to Staging / Notify Staging Failure (pull_request) Successful in 8s

This commit is contained in:
Eric Gullickson
2026-02-07 11:58:00 -06:00
parent 47c5676498
commit cf114fad3c
2 changed files with 799 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -15,6 +15,7 @@ FROM ${REGISTRY_MIRRORS}/python:3.13-slim
# - libgomp1: OpenMP runtime required by PaddlePaddle
# - libheif1/libheif-dev: HEIF image support (iPhone photos)
# - libglib2.0-0: GLib shared library (OpenCV dependency)
# - libgl1-mesa-glx: OpenGL runtime (OpenCV cv2 dependency, pulled by PaddleX)
# - libmagic1: File type detection
# - curl: Health check endpoint
RUN apt-get update && apt-get install -y --no-install-recommends \
@@ -24,6 +25,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libheif1 \
libheif-dev \
libglib2.0-0 \
libgl1-mesa-glx \
libmagic1 \
curl \
&& rm -rf /var/lib/apt/lists/*