Skip to content

Commit

Permalink
Merge pull request #3425 from laradock/poppler-add-antiword
Browse files Browse the repository at this point in the history
Poppler-utils: add antiword
  • Loading branch information
makowskid committed Aug 1, 2023
2 parents b94d5af + cdcd103 commit 18776e6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion DOCUMENTATION/content/documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion laravel-horizon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion php-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

#####################################
Expand Down
2 changes: 1 addition & 1 deletion php-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion workspace/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

#####################################
Expand Down

0 comments on commit 18776e6

Please sign in to comment.