Dockerfile: support arm64

Thanks to @andkrause for submitting the initial PR that made this change
possible, @0x326 for review comments on the same PR, and both for their
patience in waiting for the rest of OCRmyPDF to catch up.

Co-authored-by: James R. Barlow

Closes #564
This commit is contained in:
andkrause
2021-04-06 00:09:04 -07:00
committed by James R. Barlow
parent af526f078d
commit e1f4813d94
2 changed files with 51 additions and 2 deletions
+5 -2
View File
@@ -10,8 +10,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential autoconf automake libtool \
libleptonica-dev \
zlib1g-dev \
python3 \
python3-dev \
python3-distutils \
libffi-dev \
libqpdf-dev \
ca-certificates \
curl \
git
@@ -62,7 +64,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
tesseract-ocr-fra \
tesseract-ocr-por \
tesseract-ocr-spa \
unpaper
unpaper \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app