Fix joex docker image for ocrmypdf

It appears that ocrmypdf requires some other python package at
runtime. 🤷

Issue: #1850
This commit is contained in:
eikek
2022-11-19 18:16:54 +01:00
parent bd31ec2cd8
commit fe967899f3

View File

@ -60,6 +60,9 @@ RUN apk update && \
&& apk del libxml2-dev libxslt-dev zlib-dev g++ python3-dev py3-pip libffi-dev qpdf-dev openssl-dev \
&& ln -nfs /usr/bin/python3 /usr/bin/python
# Special treatment for ocrmypdf. It is broken quite often
RUN apk add --no-cache py3-setuptools && ocrmypdf --version
WORKDIR /opt
RUN wget ${joex_url:-https://github.com/eikek/docspell/releases/download/v$version/docspell-joex-$version.zip} && \
unzip docspell-joex-*.zip && \