This repo contains the Dockerfile to create a docker image that contains the latest Ubuntu LTS running the Apache Tika 1.28.4 Server on Port 9998 using Java 17.
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.
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 protected])
There have been a range of contributors on GitHub and via suggestions, including:
Copyright 2015-2021 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.