AVIF
This commit is contained in:
@@ -2,6 +2,7 @@ FROM php:8.1.16-fpm-bullseye
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y --no-install-recommends install \
|
||||
libavif-dev \
|
||||
libbz2-dev \
|
||||
libfreetype6-dev \
|
||||
libgmp-dev \
|
||||
@@ -15,7 +16,7 @@ RUN apt-get update && \
|
||||
&& \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp
|
||||
RUN docker-php-ext-configure gd --with-avif --with-freetype --with-jpeg --with-webp
|
||||
RUN printf "\n" | pecl install imagick
|
||||
RUN docker-php-ext-enable imagick
|
||||
|
||||
|
||||
Reference in New Issue
Block a user