This repo contains the Dockerfile to create a docker image that contains the latest Ubuntu running the Apache Tika 1.15 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 logicalspark/docker-tikaserver
Then to run the container, execute the following command:
docker run -d -p 9998:9998 logicalspark/docker-tikaserver
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
For more info on Apache Tika Server, go to the Apache Tika Server documentation.
- David Meikle (email@example.com)
Copyright 2015-2016 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
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.
Version 1.14 reports:
benwa@horizon ~/Documents/apache/onssd/james-project (git)-[JAMES-2013] % docker run --name tika logicalspark/docker-tikaserver:1.14 Unable to find image 'logicalspark/docker-tikaserver:1.14' locally 1.14: Pulling from logicalspark/docker-tikaserver b6f892c0043b: Pull complete 55010f332b04: Pull complete 2955fb827c94: Pull complete 3deef3fcbd30: Pull complete cf9722e506aa: Pull complete 18fe3e1358cd: Pull complete Digest: sha256:279af8b3cd7f747d2fb287b787a42affc8e37855ced7cedf701963d1f761f94a Status: Downloaded newer image for logicalspark/docker-tikaserver:1.14 Error: Invalid or corrupt jarfile /tika-server-1.14.jar