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