Update Dockerfile
7.3.23 + WebP
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user