Add jpeg support to base container
This commit is contained in:
parent
6fd0ba50b9
commit
b5f87f2368
|
@ -2,9 +2,11 @@ FROM php:8.1.6-fpm as php
|
|||
WORKDIR /app
|
||||
RUN ls /app
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev unzip poppler-utils
|
||||
RUN apt-get install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev unzip poppler-utils libpng-dev libjpeg-dev default-mysql-client
|
||||
RUN apt-get install -y --no-install-recommends texlive-base texlive-latex-base texlive-pictures texlive-latex-extra texlive-lang-german texlive-plain-generic texlive-fonts-recommended texlive-fonts-extra texlive-extra-utils
|
||||
RUN docker-php-ext-install pdo_mysql curl gd exif intl mbstring pcntl
|
||||
RUN pecl install redis && docker-php-ext-enable redis
|
||||
RUN docker-php-ext-configure gd --with-jpeg
|
||||
RUN docker-php-ext-enable gd
|
||||
RUN usermod -s /bin/bash www-data
|
||||
|
||||
|
|
Loading…
Reference in New Issue