Update Dockerfile

7.3.23 + WebP
This commit is contained in:
2020-10-21 17:29:04 +02:00
committed by GitHub
parent 6a10753a17
commit 4e10ee58d5

View File

@@ -1,19 +1,20 @@
FROM php:7.3.22-fpm-stretch
FROM php:7.3.23-fpm-stretch
RUN apt-get update && \
apt-get -y --no-install-recommends install \
libbz2-dev \
libfreetype6-dev \
libjpeg-dev \
libicu-dev \
libjpeg-dev \
libmagickwand-dev \
libpng-dev \
libbz2-dev \
libwebp-dev \
libxml2-dev \
libzip-dev \
&& \
rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include/
RUN printf "\n" | pecl install imagick
RUN docker-php-ext-enable imagick