RSS-146: Test downgrade pdftron ocrModule 2
This commit is contained in:
parent
70917cfd88
commit
9cc4ed3523
@ -1,10 +1,17 @@
|
||||
FROM red/base-image:2.0.0
|
||||
|
||||
RUN curl -L -sS -o PDFNetC64.tar.gz https://nightly-pdftron.s3-us-west-2.amazonaws.com/stable/2022-05-23/9.2/PDFNetC64_2022-05-23_stable.tar.gz
|
||||
RUN tar xvzf PDFNetC64.tar.gz
|
||||
RUN mv PDFNetC64/Lib/* /usr/lib/
|
||||
|
||||
RUN curl -L -sS -o OCRModuleLinux.tar.gz https://nightly-pdftron.s3-us-west-2.amazonaws.com/stable/2022-05-23/9.2/OCRModuleLinux_2022-05-23_stable.tar.gz
|
||||
RUN tar xvzf OCRModuleLinux.tar.gz
|
||||
RUN mkdir /OCRModule
|
||||
RUN mv Lib/* /OCRModule/
|
||||
|
||||
RUN apt-get -y update
|
||||
RUN apt-get -y install ghostscript icc-profiles-free libxml2 pngquant python3-distutils python3-pkg-resources python3-reportlab qpdf tesseract-ocr zlib1g unpaper ocrmypdf
|
||||
|
||||
ARG PLATFORM_JAR
|
||||
|
||||
ENV PLATFORM_JAR ${PLATFORM_JAR}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user