From 232ec2a06a746fd8dca1480461eb858ec5c7d3a5 Mon Sep 17 00:00:00 2001 From: doctorpangloss <2229300+doctorpangloss@users.noreply.github.com> Date: Tue, 21 Oct 2025 15:43:54 -0700 Subject: [PATCH] Include libcairo2-dev --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7388e0fd9..5fb4f2d1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,11 +24,11 @@ RUN echo "onnxruntime-gpu==1.22.0" >> /workspace/overrides.txt; pip freeze | gre # mitigates AttributeError: module 'cv2.dnn' has no attribute 'DictValue' \ # see https://github.com/facebookresearch/nougat/issues/40 RUN pip install uv && uv --version && \ - apt-get update && apt-get install --no-install-recommends ffmpeg libsm6 libxext6 -y && \ + apt-get update && apt-get install --no-install-recommends ffmpeg libsm6 libxext6 libcairo2-dev -y && \ uv pip uninstall --system $(pip list --format=freeze | grep opencv) && \ rm -rf /usr/local/lib/python3.12/dist-packages/cv2/ && \ uv pip install wheel && \ - uv pip install --no-build-isolation "opencv-contrib-python-headless!=4.11.0.86" && \ + uv pip install --no-build-isolation "opencv-contrib-python-headless>=4.12.0.88" && \ rm -rf /var/lib/apt/lists/* # install sageattention