This repo contains the Dockerfile to create a docker image that contains the latest Ubuntu running the Apache Tika 1.20 Server on Port 9998 using Java 8.
Out-of-the-box the container also includes dependencies for the GDAL and Tesseract OCR parsers. To balance showing functionality versus the size of the image, this file currently installs the language packs for the following languages:
To install more languages simply update the apt-get command to include the package containing the language you required, or include your own custom packs using an ADD command.
First you need to pull down the build from Dockerhub, which can be done by invoking:
docker pull evgeniusx/tika-server
Then to run the container, execute the following command:
docker run -d -p 9998:9998 evgeniusx/tika-server
To build the image from scratch, simply invoke:
docker build -t 'docker-tikaserver' https://bitbucket.org/evgeniusx/docker-tikaserver/
You can then use the following command (using the name you allocated in the build command as part of -t option):
docker run -d -p 9998:9998 tika-server
To test tika do:
curl -T TestWordDoc.doc http://localhost:9998/tika
For more info on Apache Tika Server, go to the Apache Tika Server documentation. https://wiki.apache.org/tika/TikaOCR
Content type
Image
Digest
Size
215.7 MB
Last updated
over 7 years ago
docker pull evgeniusx/tika-server