From df016330255a7f465ccfba3fa5606007eec5df0e Mon Sep 17 00:00:00 2001 From: filesite Date: Thu, 17 Oct 2024 09:30:23 +0800 Subject: [PATCH] add webp support --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2aa0df8..0b79864 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM php:8.4.0RC2-fpm-alpine3.20 -RUN apk add rsync nginx zlib-dev libpng-dev freetype-dev libjpeg-turbo-dev \ - && docker-php-ext-configure gd --with-freetype --with-jpeg \ +RUN apk add rsync nginx zlib-dev libpng-dev freetype-dev libjpeg-turbo-dev libwebp-dev \ + && docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \ && docker-php-ext-install -j$(nproc) gd \ && cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \ && cd /usr/local/etc/php/ \