Merge pull request #3425 from laradock/poppler-add-antiword

Poppler-utils: add antiword
This commit is contained in:
Dawid Makowski 2023-08-01 10:43:47 +02:00 committed by GitHub
commit 18776e6baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 5 deletions

View File

@ -2001,7 +2001,7 @@ To install npm-check-updates CLI [here](https://www.npmjs.com/package/npm-check-
<br> <br>
<a name="Install-poppler-utils"></a> <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. 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 * pdftotext -- text extraction
* pdfunite -- document merging tool * 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 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 - Open the `.env` file

View File

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

View File

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

View File

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

View File

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