/docker-tikaserver

Apache Tika Server as a Docker Image

Primary LanguageDockerfileApache License 2.0Apache-2.0

docker-tikaserver Build Status

This repo contains the Dockerfile to create a docker image that contains the latest Ubuntu running the Apache Tika 1.25 Server on Port 9998 using Java 14.

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.

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 logicalspark/docker-tikaserver

Then to run the container, execute the following command:

docker run -d -p 9998:9998 logicalspark/docker-tikaserver

Building

To build the image from scratch, simply invoke:

docker build -t 'docker-tikaserver' github.com/LogicalSpark/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 docker-tikaserver

More

For more info on Apache Tika Server, go to the Apache Tika Server documentation.

Author

Contributors

There have been a range of contributors on GitHub and via suggestions, including:

Licence

Copyright 2015-2020 David Meikle

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.