Skip to content

Commit

Permalink
deps: include libtesseract4 in the image
Browse files Browse the repository at this point in the history
Needed for aarm64 where wheel for tesserocr is not available.

Fixes #1944
  • Loading branch information
nijel committed Aug 30, 2023
1 parent f3a0c2b commit 0bff085
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ ENV PYTHONUNBUFFERED=1
COPY requirements.txt Gemfile patches /app/src/

# Install dependencies
# TODO: drop libtesseract4 once https://github.com/sirfz/tesserocr/issues/322 is fixed
# hadolint ignore=DL3008,DL3013,SC2046,DL3003
RUN \
export DEBIAN_FRONTEND=noninteractive \
Expand All @@ -74,6 +75,7 @@ RUN \
pkg-config \
file \
make \
libtesseract4 \
libcairo2-dev \
libxml2-dev \
libacl1-dev \
Expand Down

0 comments on commit 0bff085

Please sign in to comment.