This commit is contained in:
2023-02-22 11:57:10 +01:00
parent ab403c8b8a
commit 8a8e860c26
+2 -1
View File
@@ -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