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