Sign inSign up

evgeniusx/tika-server

By evgeniusx

•Updated over 7 years ago

Image
0

1.1K

evgeniusx/tika-server repository overview

⁠docker-tikaserver

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:

  • English
  • French
  • German
  • Italian
  • Spanish
  • Russian
  • Ukrainian

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.

⁠Usage

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

⁠Building

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

⁠Testing

To test tika do:

curl -T TestWordDoc.doc  http://localhost:9998/tika

⁠More

For more info on Apache Tika Server, go to the Apache Tika Server documentation⁠. https://wiki.apache.org/tika/TikaOCR⁠

Tag summary

Content type

Image

Digest

Size

215.7 MB

Last updated

over 7 years ago

docker pull evgeniusx/tika-server