JiriOndrusek commented on issue #9212:
URL: https://github.com/apache/camel-quarkus/issues/9212#issuecomment-5928357316

   Perhaps, a custom/patched image would work. Something like:
   
   ```
   FROM quay.io/docling-project/docling-serve:v1.35.0
   
   USER 0
   RUN pip install --force-reinstall --no-deps \
         "opencv-python==4.12.0.88" "opencv-python-headless==4.12.0.88" \
    && pip install --force-reinstall --no-deps --only-binary av "av==14.2.0" \
    && sed -i 's/hash_md5 = hashlib.md5()/hash_md5 = 
hashlib.md5(usedforsecurity=False)/' \
         /opt/app-root/lib/python3.12/site-packages/easyocr/utils.py || true
   USER 1001
   
   CMD ["docling-serve", "run"]
   ```
   (from the 
[comment](https://github.com/docling-project/docling-serve/issues/535#issuecomment-4373421357))


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to