From 8962fe3778a0aa9eee2dab1ae1369d92e89898bf Mon Sep 17 00:00:00 2001 From: pmacius Date: Mon, 5 Aug 2024 12:58:48 +0200 Subject: [PATCH] test only tika, fix libreoffice in different task --- tengine/libreoffice/Dockerfile | 5 ++++- test/helm/test-overrides.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/tengine/libreoffice/Dockerfile b/tengine/libreoffice/Dockerfile index 4ca44b9f..1a262cca 100644 --- a/tengine/libreoffice/Dockerfile +++ b/tengine/libreoffice/Dockerfile @@ -11,10 +11,10 @@ ARG ALFRESCO_LIBREOFFICE_USER_NAME ARG ALFRESCO_LIBREOFFICE_USER_ID RUN --mount=type=bind,source=${LIBREOFFICE_COMMON_PATH},target=/dist \ - yum install -y cairo cups-libs libSM libGLU && \ mkdir /tmp/dist && \ tar xzf /dist/*.gz -C /tmp/dist && \ yum localinstall -y /tmp/dist/LibreOffice*/RPMS/*.rpm && \ + yum install -y cairo cups-libs libSM libGLU && \ rm -rf /tmp/dist && \ yum clean all @@ -26,5 +26,8 @@ RUN groupadd -g ${ALFRESCO_LIBREOFFICE_GROUP_ID} ${ALFRESCO_LIBREOFFICE_GROUP_NA USER ${ALFRESCO_LIBREOFFICE_USER_NAME} +HEALTHCHECK --interval=20s --timeout=10s --retries=3 --start-period=30s \ + CMD curl -f http://localhost:8090/live || exit 1 + COPY ${LIBREOFFICE_COMMON_PATH}/entrypoint.sh /entrypoint.sh CMD ["/entrypoint.sh"] diff --git a/test/helm/test-overrides.yaml b/test/helm/test-overrides.yaml index 23861492..7ada7d0d 100644 --- a/test/helm/test-overrides.yaml +++ b/test/helm/test-overrides.yaml @@ -24,10 +24,10 @@ alfresco-transform-service: image: repository: localhost/alfresco-imagemagick tag: latest - libreoffice: - image: - repository: localhost/alfresco-libreoffice - tag: latest + # libreoffice: + # image: + # repository: localhost/alfresco-libreoffice + # tag: latest tika: image: repository: localhost/alfresco-tika