Skip to content

Commit

Permalink
test only tika, fix libreoffice in different task
Browse files Browse the repository at this point in the history
  • Loading branch information
pmacius committed Aug 5, 2024
1 parent e9b8b00 commit 8962fe3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion tengine/libreoffice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand 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"]
8 changes: 4 additions & 4 deletions test/helm/test-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8962fe3

Please sign in to comment.