Update nix and docker setup

This commit is contained in:
Eike Kettner
2020-09-09 22:08:17 +02:00
parent 43f331841f
commit dc88fcb960
6 changed files with 32 additions and 16 deletions

View File

@ -25,22 +25,23 @@ RUN apk add --no-cache openjdk11-jre \
zlib-dev \
g++ \
qpdf \
py3-pip \
python3-dev \
libffi-dev\
qpdf-dev \
openssl-dev \
ocrmypdf \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& pip3 install --upgrade pip \
&& pip3 install ocrmypdf \
&& curl -Ls $UNO_URL -o /usr/local/bin/unoconv \
&& chmod +x /usr/local/bin/unoconv \
&& mkdir -p /opt \
&& cd /opt \
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.11.0/docspell-joex-0.11.0.zip \
&& curl -L -o docspell.zip https://github.com/eikek/docspell/releases/download/v0.11.1/docspell-joex-0.11.1.zip \
&& unzip docspell.zip \
&& rm docspell.zip \
&& apk del curl unzip libxml2-dev libxslt-dev zlib-dev g++ python3-dev libffi-dev qpdf-dev openssl-dev
&& apk del curl unzip libxml2-dev libxslt-dev zlib-dev g++ python3-dev py3-pip libffi-dev qpdf-dev openssl-dev
COPY entrypoint-joex.sh /opt/entrypoint.sh