qcasey / tika

Convenience Docker images for Apache Tika Server

Home Page:https://tika.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tika-docker

build and publish

This fork exists to add the arm64 and armv7 architectures to the tika docker image. In theory these images are identical to those of apache/tika-docker. This enables users of paperless-ngx to run on more devices, such as Raspberry Pis

⚠ This image is currently being used in the main repo's docker example files found here.


This repo is used to create convenience Docker images for Apache Tika Server published as apache/tika on DockerHub by the Apache Tika Dev team

The images create a functional Apache Tika Server instance that contains the latest Ubuntu running the appropriate version's server on Port 9998 using Java 8 (until version 1.20), Java 11 (1.21 and 1.24.1), Java 14 (until 1.27/2.0.0), Java 16 (for 2.1.0), and Java 17 LTS for newer versions.

There is a minimal version, which contains only Apache Tika and it's core dependencies, and a full version, which also includes dependencies for the GDAL and Tesseract OCR parsers. To balance showing functionality versus the size of the full 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.

Available Tags

Below are the most recent 2.x series tags:

  • 2.1.0: Apache Tika Server 2.1.0 (Minimal)
  • 2.1.0-full: Apache Tika Server 2.1.0 (Full)

Below are the most recent 1.x series tags:

  • 1.27: Apache Tika Server 1.27 (Minimal)
  • 1.27-full: Apache Tika Server 1.27 (Full)

You can see a full set of tags for historical versions here.

Usage

Default

You can pull down the version you would like using:

docker pull iwishiwasaneagle/apache-tika-arm:<tag>

Then to run the container, execute the following command:

docker run -d -p 9998:9998 iwishiwasaneagle/apache-tika-arm:<tag>

Where is the DockerHub tag corresponding to the Apache Tika Server version - e.g. 1.23, 1.22, 1.23-full, 1.22-full.

NOTE: The latest and latest-full tags are explicitly set to the latest released version when they are published.

Building

To build the image from scratch, simply invoke:

docker build -t 'apache/tika' github.com/apache/tika-docker

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 apache/tika

More Information

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

For more information on Apache Tika, go to the official Apache Tika project website.

To meet up with others using Apache Tika, consider coming to one of the Apache Tika Virtual Meetups.

For more information on the Apache Software Foundation, go to the Apache Software Foundation website.

Authors

Apache Tika Dev Team (dev@tika.apache.org)

Contributors

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

Licence

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.

Disclaimer

It is worth noting that whilst these Docker images download the binary JARs published by the Apache Tika Team on the Apache Software Foundation distribution sites, only the source release of an Apache Software Foundation project is an official release artefact. See Release Distribution Policy for more details.

About

Convenience Docker images for Apache Tika Server

https://tika.apache.org/

License:Apache License 2.0


Languages

Language:Shell 66.4%Language:Dockerfile 33.6%