We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aef6592 commit 3d85950Copy full SHA for 3d85950
Dockerfile.tmpl
@@ -528,6 +528,9 @@ RUN mkdir -p /root/.EasyOCR/model && \
528
rm /root/.EasyOCR/model/craft_mlt_25k.zip && \
529
/tmp/clean-layer.sh
530
531
+# Add 7z support
532
+RUN apt-get install -y p7zip-full
533
+
534
# Tesseract and some associated utility packages
535
RUN apt-get install tesseract-ocr -y && \
536
pip install pytesseract && \
tests/test_7z.py
@@ -0,0 +1,8 @@
1
+import subprocess
2
+import unittest
3
4
5
+class Test7z(unittest.TestCase):
6
+ def test_basic(self):
7
+ result = subprocess.run('which 7z', shell=True, capture_output=True)
8
+ assert len(result.stdout) > 0
0 commit comments