feat!: split TIKA_IMAGE into image, tag and variant variables

Tika was the only image that took name and tag in one variable. Use
TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG like the other images, so the
tag can be pinned and bumped the same way.

TIKA_DOCKER_VARIANT=full selects the full image without naming a tag, so
choosing the variant no longer means choosing a version.

BREAKING CHANGE: TIKA_IMAGE is no longer read, compose aborts with a
message while it is still set. Replace
TIKA_IMAGE=apache/tika:latest-full with TIKA_DOCKER_VARIANT=full, or set
TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG for any other image.
This commit is contained in:
Dominik Schmidt
2026-11-12 01:49:26 +01:00
parent dee4c1b17e
commit 3dab02683c
3 changed files with 17 additions and 9 deletions

View File

@@ -1,7 +1,9 @@
---
x-removed-variables:
TIKA_IMAGE: "${TIKA_IMAGE:+${TIKA_IMAGE_REMOVED:?TIKA_IMAGE (image:tag) is now TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG}}"
services:
tika:
image: ${TIKA_IMAGE:-apache/tika:latest}
image: ${TIKA_DOCKER_IMAGE:-apache/tika}:${TIKA_DOCKER_TAG:-latest}${TIKA_DOCKER_VARIANT:+-}${TIKA_DOCKER_VARIANT:-}
# Using the base variant for smaller image size and faster startup
# The base variant includes core functionality for text extraction
# Full variant is only needed for specialized OCR/image processing