Prechádzať zdrojové kódy

Adding antiword within poppler-utils package

Dawid Makowski 1 rok pred
rodič
commit
cdcd103739

+ 3 - 1
DOCUMENTATION/content/documentation/index.md

@@ -2001,7 +2001,7 @@ To install npm-check-updates CLI [here](https://www.npmjs.com/package/npm-check-
 
 <br>
 <a name="Install-poppler-utils"></a>
-## Install poppler-utils
+## Install `poppler-utils` (and `antiword` combined)
 
 Poppler is a PDF rendering library based on Xpdf PDF viewer.
 
@@ -2019,6 +2019,8 @@ This package contains command line utilities (based on Poppler) for getting info
 * pdftotext -- text extraction
 * pdfunite -- document merging tool
 
+`poppler-utils` is often used by popular PDF/DOC parsing packages in combination with `antiword`, hence both are installed when flags in `.env` are set.
+
 To install `poppler-utils` [(more here)](https://packages.debian.org/sid/poppler-utils) in any of the `workspace/php-fpm/php-worker/laravel-horizon` container
 
 1 - Open the `.env` file

+ 1 - 1
laravel-horizon/Dockerfile

@@ -218,7 +218,7 @@ USER root
 ARG INSTALL_POPPLER_UTILS=false
 
 RUN if [ ${INSTALL_POPPLER_UTILS} = true ]; then \
-  apk add --update --no-cache poppler-utils \
+  apk add --update --no-cache poppler-utils antiword \
 ;fi
 
 # Install Cassandra drivers:

+ 1 - 1
php-fpm/Dockerfile

@@ -1044,7 +1044,7 @@ USER root
 ARG INSTALL_POPPLER_UTILS=false
 
 RUN if [ ${INSTALL_POPPLER_UTILS} = true ]; then \
-  apt-get -y install poppler-utils \
+  apt-get -y install poppler-utils antiword \
 ;fi
 
 #####################################

+ 1 - 1
php-worker/Dockerfile

@@ -271,7 +271,7 @@ USER root
 ARG INSTALL_POPPLER_UTILS=false
 
 RUN if [ ${INSTALL_POPPLER_UTILS} = true ]; then \
-  apk add --update --no-cache poppler-utils \
+  apk add --update --no-cache poppler-utils antiword \
 ;fi
 
 # Install AMQP:

+ 1 - 1
workspace/Dockerfile

@@ -1489,7 +1489,7 @@ USER root
 ARG INSTALL_POPPLER_UTILS=false
 
 RUN if [ ${INSTALL_POPPLER_UTILS} = true ]; then \
-  apt-get -y install poppler-utils \
+  apt-get -y install poppler-utils antiword \
 ;fi
 
 #####################################