Add: MPDF

This commit is contained in:
Siroco 2023-11-01 20:45:42 +00:00
parent a928c99804
commit 8d8c9bef50
2 changed files with 8 additions and 4 deletions

View File

@ -7,16 +7,20 @@ ARG PHP_VERSION=7.4
RUN apt update && apt dist-upgrade -y RUN apt update && apt dist-upgrade -y
## Install Older version ## Install Diferent PHP version
RUN apt-get -y install lsb-release ca-certificates curl RUN apt-get -y install lsb-release ca-certificates curl
RUN curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg RUN curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
RUN apt-get update RUN apt-get update
RUN apt install -y \ ## IF tesseract
tesseract-ocr tesseract-ocr-spa sudo #RUN apt install -y \
# tesseract-ocr tesseract-ocr-spa sudo
RUN apt install -y r-base r-base-dev r-recommended imagemagick ffmpeg python3 \ ## IF R
#RUN apt install -y r-base r-base-dev r-recommended
RUN apt install -y imagemagick ffmpeg python3 \
mariadb-client unoconv mariadb-client unoconv
RUN apt remove -y php-cli && \ RUN apt remove -y php-cli && \

Binary file not shown.