Merge pull request #3425 from laradock/poppler-add-antiword
Poppler-utils: add antiword
This commit is contained in:
commit
18776e6baa
@ -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
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
Loading…
Reference in New Issue
Block a user