Merge pull request #1863 from eikek/docker-remove-zlib

Remove explicit install of zlib
This commit is contained in:
mergify[bot]
2022-11-24 23:10:29 +00:00
committed by GitHub
2 changed files with 1 additions and 3 deletions

View File

@ -53,7 +53,6 @@ RUN apk update && \
qpdf-dev \ qpdf-dev \
openssl-dev \ openssl-dev \
ocrmypdf \ ocrmypdf \
&& 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

@ -5,8 +5,7 @@ ARG restserver_url=
ARG TARGETPLATFORM ARG TARGETPLATFORM
RUN apk update && \ RUN apk update && \
apk add --no-cache openjdk17-jre bash tzdata curl && \ apk add --no-cache openjdk17-jre bash tzdata curl
apk add 'zlib=1.2.12-r3'
WORKDIR /opt WORKDIR /opt
RUN curl -L -O ${restserver_url:-https://github.com/eikek/docspell/releases/download/v$version/docspell-restserver-$version.zip} && \ RUN curl -L -O ${restserver_url:-https://github.com/eikek/docspell/releases/download/v$version/docspell-restserver-$version.zip} && \