extra dependencies for indexing files on mattermost
Solved
Mattermost
-
Hello,
from https://mattermost.com/blog/file-search/
For Mattermost Self-Managed workspaces, search results will return files with matching contents for .pdf, .pptx, .odt, .html, and plain text documents. System Admins can install these dependencies in order to enable searching contents of .docx, .rtf, and .pages files.
The dependencies are:
- tidy
- wv
- popplerutils
- nrtf
- justext
Any chance we can have them included in the app?
Should i submit a merge request?
-
@c0decafe said in extra dependencies for indexing files on mattermost:
Should i submit a merge request?
yes, please.
-
@girish i don't seem to have access to the fork the repo on git.cloudron.io
patch below:
From 65c731c4a7734172fd9798cbe86905f8ec2a71d7 Mon Sep 17 00:00:00 2001 From: c0decafe <ports@c0decafe.net> Date: Thu, 13 Jul 2023 13:23:18 +0000 Subject: [PATCH] add dependencies --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 38cb4ac..df94e02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df +RUN apt update && apt install -y poppler-utils wv unrtf tidy + RUN mkdir -p /app/code /app/pkg WORKDIR /app/code -- 2.41.0
-
-