Fix dockerfiles

This commit is contained in:
eikek
2022-08-12 17:30:57 +02:00
parent e42794869f
commit 7233f606af
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ RUN JDKPKG="openjdk11-jre"; \
qpdf-dev \ qpdf-dev \
openssl-dev \ openssl-dev \
ocrmypdf \ ocrmypdf \
&& apk add 'zlib=1.2.12-r2' \ && apk add 'zlib=1.2.12-r3' \
&& pip3 install --upgrade pip \ && pip3 install --upgrade pip \
&& pip3 install ocrmypdf \ && pip3 install ocrmypdf \
&& curl -Ls $UNO_URL -o /usr/local/bin/unoconv \ && curl -Ls $UNO_URL -o /usr/local/bin/unoconv \

View File

@ -8,7 +8,7 @@ RUN JDKPKG="openjdk11-jre"; \
if [[ $TARGETPLATFORM = linux/arm* ]]; then JDKPKG="openjdk8-jre"; fi; \ if [[ $TARGETPLATFORM = linux/arm* ]]; then JDKPKG="openjdk8-jre"; fi; \
apk update && \ apk update && \
apk add --no-cache $JDKPKG bash tzdata && \ apk add --no-cache $JDKPKG bash tzdata && \
apk add 'zlib=1.2.12-r2' apk add 'zlib=1.2.12-r3'
WORKDIR /opt WORKDIR /opt
RUN wget ${restserver_url:-https://github.com/eikek/docspell/releases/download/v$version/docspell-restserver-$version.zip} && \ RUN wget ${restserver_url:-https://github.com/eikek/docspell/releases/download/v$version/docspell-restserver-$version.zip} && \