mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-05-04 04:35:49 -04:00
Unfortunately because of this issue
https://github.com/docker/hub-feedback/issues/292
Docker Hub effectively automatically changes directory to the location
of Dockerfile, meaning needed files are not in the right places, so
this has to be reverted.
This reverts commit 65c9a07dde.
[ci skip]
19 lines
500 B
Docker
19 lines
500 B
Docker
# OCRmyPDF polyglot
|
|
#
|
|
# VERSION 4.4.2
|
|
FROM jbarlow83/ocrmypdf:latest
|
|
MAINTAINER James R. Barlow <jim@purplerock.ca>
|
|
|
|
USER root
|
|
|
|
# Update system and install our dependencies
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
tesseract-ocr-all
|
|
|
|
RUN apt-get autoremove -y && apt-get clean -y
|
|
|
|
USER docker
|
|
|
|
# Must use array form of ENTRYPOINT
|
|
# Non-array form does not append other arguments, because that is "intuitive"
|
|
ENTRYPOINT ["/application/docker-wrapper.sh"] |