To be able to release the Apache Tika Docker image on DockerHub you will need to have access to the apache/tika repository. This is controlled by the ASF Infra team and can be requested through a INFRA JIRA ticket. Make sure to tag the ticket with the Docker label.
This repository contains the Dockerfiles used to create the minimal and full images for Apache Tika. Its also containers helper examples and configurations.
There are two image types:
The Dockerfile for each image is in the correspondingly named directory, and are the only assets used to public the images.
There are a number of Docker Compose files to allow users to quickly test certain scenarios:
These different scenarios use the corresponding configuration in the sample-configs directory.
Neither these Docker Compose YML files or the Sample Configurations are used for publishing Apache Tika's Docker image. They are only used to provide examples for complex configurations.
An example of using these is provided here.
This shell file is a helper script used to simplify the building, testing and publication of the images.
It provides the following options:
This shell file was used to republish the older images when the Dockerfile was updated. It is redundant now but kept in the repo incase something similar needs done in the future.
Update the README.md's Available Tags section
Update the TAG version in .env to be X.Y.Z.Q+1
$ git clone https://github.com/apache/tika-docker && cd tika-docker $ ./docker-tool.sh build 3.1.0.0 3.1.0 $ ./docker-tool.sh test 3.1.0.0 # If you see the test passed, you can then build the multi-arch images and publish them: # NOTE THAT THIS STEP ALSO PUSHES THE *-latest tag. You may have to adjust the build script if you're pushing a BETA release or a release from an older branch (e.g. 2.x)! $ ./docker-tool.sh publish 3.1.0.0 3.1.0 |
6. If everything worked, tag the last commit
git tag -a 3.1.0.0 -m "New release for 3.1.0.0"