This repo contains the Dockerfile to create a docker image that contains the latest Ubuntu running the Apache Tika 1.7 Server on Port 9998 using Java 7.
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 (firstname.lastname@example.org)
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.