You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by GitBox <gi...@apache.org> on 2021/06/05 17:26:03 UTC

[GitHub] [tika-docker] lewismc commented on pull request #2: [TIKA-3420] Set tesseract ocr langauges as docker build args

lewismc commented on pull request #2:
URL: https://github.com/apache/tika-docker/pull/2#issuecomment-855270083


   @mhf-ir OK I tried out the new patch today
   ```
   ./docker-tool.sh build 1.26 tika-1.27-tesseract-french.jar tesseract-ocr-fra
   ```
   ...
   ```
    => ERROR [dependencies 1/2] RUN DEBIAN_FRONTEND=noninteractive apt-get -y install openjdk-14-jre-headless gdal-bin tesseract-ocr 'tesseract-ocr-fra'                                                                                    1.4s
   ------
    > [dependencies 1/2] RUN DEBIAN_FRONTEND=noninteractive apt-get -y install openjdk-14-jre-headless gdal-bin tesseract-ocr 'tesseract-ocr-fra':
   #6 0.293 Reading package lists...
   #6 1.103 Building dependency tree...
   #6 1.268 Reading state information...
   #6 1.383 E: Unable to locate package 'tesseract-ocr-fra'
   ------
   executor failed running [/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get -y install $JRE gdal-bin tesseract-ocr $TESSERACT_LANGUAGES]: exit code: 100
   ```
   Is this the correct way to invoke `./docker-tool.sh`'s `build` command?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org