Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaswinkler committed Aug 18, 2021
1 parent dbe8203 commit 0b90e69
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN git clone https://github.com/agl/jbig2enc .
RUN ./autogen.sh
RUN ./configure && make

FROM python:3.7-slim
FROM python:3.9-slim-bullseye

# Binary dependencies
RUN apt-get update \
Expand All @@ -33,16 +33,11 @@ RUN apt-get update \
zlib1g \
ghostscript \
icc-profiles-free \
&& echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list \
&& apt-get update \
&& apt-get -y --no-install-recommends install \
# fixes sudo / gosu issues
libseccomp2 \
# Mime type detection
# Mime type detection
file \
libmagic-dev \
media-types \
# OCRmyPDF dependencies
# OCRmyPDF dependencies
liblept5 \
qpdf \
tesseract-ocr \
Expand Down

0 comments on commit 0b90e69

Please sign in to comment.