Update docker setup

This commit is contained in:
Eike Kettner
2020-08-01 17:22:13 +02:00
parent 7f20c80e51
commit 66793080d8
5 changed files with 16 additions and 15 deletions

View File

@ -28,17 +28,18 @@ RUN apk add --no-cache openjdk11-jre \
python3-dev \
libffi-dev\
qpdf-dev \
openssl-dev \
&& pip3 install --upgrade pip \
&& pip3 install ocrmypdf \
&& pip3 install pdfminer.six==20200517 ocrmypdf \
&& curl -Ls $UNO_URL -o /usr/local/bin/unoconv \
&& chmod +x /usr/local/bin/unoconv \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& mkdir -p /opt \
&& cd /opt \
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.8.0/docspell-joex-0.8.0.zip \
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.9.0/docspell-joex-0.9.0.zip \
&& unzip docspell.zip \
&& rm docspell.zip \
&& apk del curl unzip libxml2-dev libxslt-dev zlib-dev g++ python3-dev libffi-dev qpdf-dev
&& apk del curl unzip libxml2-dev libxslt-dev zlib-dev g++ python3-dev libffi-dev qpdf-dev openssl-dev
COPY entrypoint-joex.sh /opt/entrypoint.sh