From ccb08887e7a44236b8d63e094d9be623cce1da94 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Thu, 12 Nov 2026 01:49:26 +0100 Subject: [PATCH] chore: pin tika, clamav, radicale, phpldapadmin and euro-office images These five images defaulted to "latest". A host that never pulls stays on whatever "latest" was at first start, a fresh install gets an untested version, and one repository state does not describe one set of images. Pin each to the version "latest" points to today. Euro Office publishes no version tags, so it is pinned by digest. The tag variables can still be set to "latest". --- .env.example | 11 ++++++----- README.md | 4 ++-- antivirus/clamav.yml | 2 +- radicale/radicale.yml | 2 +- search/tika.yml | 2 +- testing/ldap-manager.yml | 2 +- weboffice/euro-office.yml | 2 +- 7 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.env.example b/.env.example index 02749d5..dbd68f9 100644 --- a/.env.example +++ b/.env.example @@ -205,7 +205,7 @@ START_ADDITIONAL_SERVICES="" # Docker image to use for the Tika container. Defaults to "apache/tika". TIKA_DOCKER_IMAGE= # Docker tag to pull for the Tika container. -# Defaults to "latest" +# Defaults to the pinned version. Use git pull to update. TIKA_DOCKER_TAG= # The image variant, appended to the tag. # The default base variant is recommended for most use cases as it provides core text extraction @@ -279,7 +279,7 @@ EURO_OFFICE_JWT_SECRET= # Defaults to "ghcr.io/euro-office/documentserver" EURO_OFFICE_DOCKER_IMAGE= # Euro Office Docker tag. -# Defaults to "latest" +# Defaults to the pinned digest. Use git pull to update. EURO_OFFICE_DOCKER_TAG= @@ -297,7 +297,7 @@ EURO_OFFICE_DOCKER_TAG= # Docker image to use for the ClamAV container. Defaults to "clamav/clamav". CLAMAV_DOCKER_IMAGE= # Image version of the ClamAV container. -# Defaults to "latest" +# Defaults to the pinned version. Use git pull to update. CLAMAV_DOCKER_TAG= @@ -362,7 +362,7 @@ GRAPH_ASSIGN_DEFAULT_USER_ROLE= # Docker image to use for the LDAP manager container. Defaults to "phpldapadmin/phpldapadmin". LDAP_MANAGER_DOCKER_IMAGE= # Docker tag to pull for the LDAP manager container. -# Defaults to "latest" +# Defaults to the pinned version. Use git pull to update. LDAP_MANAGER_DOCKER_TAG= # Domain of your Identity Provider. IDP_DOMAIN= @@ -450,7 +450,8 @@ KC_DB_PASSWORD= # Docker image to use for the Radicale Container #RADICALE_DOCKER_IMAGE=opencloudeu/radicale # Docker tag to pull for the Radicale Container -#RADICALE_DOCKER_TAG=latest +# Defaults to the pinned version. Use git pull to update. +#RADICALE_DOCKER_TAG= # Define the storage location for the Radicale data. Set the path to a local path. # Ensure that the configuration and data directories are owned by the user and group with ID 1000:1000. # This matches the default user inside the container and avoids permission issues when accessing files. diff --git a/README.md b/README.md index d8e3d54..6c68fec 100644 --- a/README.md +++ b/README.md @@ -447,9 +447,9 @@ Key variables: | `EURO_OFFICE_DOMAIN` | Euro Office document server domain | euro-office.opencloud.test | | `EURO_OFFICE_JWT_SECRET` | JWT secret for Euro Office (change for production!) | changeme | | `EURO_OFFICE_DOCKER_IMAGE` | Euro Office Docker image | ghcr.io/euro-office/documentserver | -| `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | latest | +| `EURO_OFFICE_DOCKER_TAG` | Euro Office Docker tag | (pinned digest) | | `TIKA_DOCKER_IMAGE` | Apache Tika Docker image | apache/tika | -| `TIKA_DOCKER_TAG` | Apache Tika Docker tag | latest | +| `TIKA_DOCKER_TAG` | Apache Tika Docker tag | (pinned version) | | `TIKA_DOCKER_VARIANT` | Apache Tika image variant, `full` for the full image | (base variant) | | `IMAGOR_DOCKER_IMAGE` | imagor Docker image | shumc/imagor | | `IMAGOR_DOCKER_TAG` | imagor Docker tag | 1.9.14 | diff --git a/antivirus/clamav.yml b/antivirus/clamav.yml index 32382a5..fadaa36 100644 --- a/antivirus/clamav.yml +++ b/antivirus/clamav.yml @@ -16,7 +16,7 @@ services: clamav: condition: service_healthy clamav: - image: ${CLAMAV_DOCKER_IMAGE:-clamav/clamav}:${CLAMAV_DOCKER_TAG:-latest} + image: ${CLAMAV_DOCKER_IMAGE:-clamav/clamav}:${CLAMAV_DOCKER_TAG:-1.5.4} environment: # Accepts a number with optional K, M or G suffix. Must be greater or equal to ANTIVIRUS_MAX_SCAN_SIZE above. # K = KiB (1024), M = MiB (1024 * 1024), G = GiB (1024 * 1024 * 1024) diff --git a/radicale/radicale.yml b/radicale/radicale.yml index 52667a1..b292a52 100644 --- a/radicale/radicale.yml +++ b/radicale/radicale.yml @@ -5,7 +5,7 @@ services: # external sites needs to have additional routes configured in the proxy - ./config/opencloud/proxy.yaml:/etc/opencloud/proxy.yaml radicale: - image: ${RADICALE_DOCKER_IMAGE:-opencloudeu/radicale}:${RADICALE_DOCKER_TAG:-latest} + image: ${RADICALE_DOCKER_IMAGE:-opencloudeu/radicale}:${RADICALE_DOCKER_TAG:-v3.9.0} user: ${OC_CONTAINER_UID_GID:-1000:1000} networks: opencloud-net: diff --git a/search/tika.yml b/search/tika.yml index 9c03e22..a8a65f5 100644 --- a/search/tika.yml +++ b/search/tika.yml @@ -3,7 +3,7 @@ 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_DOCKER_IMAGE:-apache/tika}:${TIKA_DOCKER_TAG:-latest}${TIKA_DOCKER_VARIANT:+-}${TIKA_DOCKER_VARIANT:-} + image: ${TIKA_DOCKER_IMAGE:-apache/tika}:${TIKA_DOCKER_TAG:-4.2.0}${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 diff --git a/testing/ldap-manager.yml b/testing/ldap-manager.yml index c59b32b..e079bc4 100644 --- a/testing/ldap-manager.yml +++ b/testing/ldap-manager.yml @@ -4,7 +4,7 @@ # This is not a production ready setup. services: ldap-manager: - image: ${LDAP_MANAGER_DOCKER_IMAGE:-phpldapadmin/phpldapadmin}:${LDAP_MANAGER_DOCKER_TAG:-latest} + image: ${LDAP_MANAGER_DOCKER_IMAGE:-phpldapadmin/phpldapadmin}:${LDAP_MANAGER_DOCKER_TAG:-2.3.12} networks: opencloud-net: environment: diff --git a/weboffice/euro-office.yml b/weboffice/euro-office.yml index 884bb01..52484b9 100644 --- a/weboffice/euro-office.yml +++ b/weboffice/euro-office.yml @@ -24,7 +24,7 @@ services: - ./config/euro-office/app-registry.yaml:/etc/opencloud/app-registry.yaml euro-office: - image: ${EURO_OFFICE_DOCKER_IMAGE:-ghcr.io/euro-office/documentserver}:${EURO_OFFICE_DOCKER_TAG:-latest} + image: ${EURO_OFFICE_DOCKER_IMAGE:-ghcr.io/euro-office/documentserver}:${EURO_OFFICE_DOCKER_TAG:-latest@sha256:2fadc1b3dc99250d6576fc0c0f34349db6725b752b08e91db9831fbb803fc5c2} # changelog https://github.com/EURO-office/DocumentServer/releases networks: opencloud-net: