Skip to content

asandeep/docker-tikaapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-tikaapp

A minimal Apache Tika Docker image.

The image is based on openjdk:11.0.8-jre-slim and no additional dependencies are installed to keep the image size to minimum.

Usage

Pull latest image from repository

docker pull asandeepin/docker-tikaapp:latest

To execute any command inside the container

docker run asandeepin/docker-tikaapp:latest tika [option...] [file]

or run container in detached mode

docker run -itd asandeepin/docker-tikaapp:latest /bin/bash

and use docker exec to issue commands afterwords.

docker exec -it <container_name/id> tika [option...] [file]

Make sure to mount volumes to source input files from host machine inside container.

For more command line options and how to use batch operations refer to official getting started guide.


Pushing a new version

To push images for new version to Docker hub, follow below steps.

  1. Clone the repository.

    git clone [email protected]:asandeep/docker-tikaapp.git
  2. To build images locally and play around, run below command:

    ./build.sh <TIKA_VERSION>
  3. Once satisfied, update the version string in current_version file.

  4. Create a PR to merge changes to master branch. Once PR is merged, autobuild will automatically push the latest image with relevant tags to Docker hub.

About

Docker image for minimal Apache Tika app CLI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published