From 633dbbfe051e7a882e4f2970ad73403542d68f0e Mon Sep 17 00:00:00 2001 From: Last2014 Date: Mon, 15 Dec 2025 17:49:36 +0900 Subject: [PATCH] Fix: jpeg gd --- php/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/Dockerfile b/php/Dockerfile index c75ef63..41cdcd8 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -26,7 +26,7 @@ RUN apt-get install -y wget RUN apt-get install -y dos2unix RUN apt-get install -y libwebp-dev RUN apt-get install -y libpng-dev -RUN apt-get install -y libjpeg62-turbo-dev +RUN apt-get install -y libjpeg-dev RUN apt-get install -y libfreetype6-dev RUN apt-get install -y libonig-dev RUN apt-get install -y libzip-dev @@ -84,7 +84,7 @@ RUN rm -f .source-flag RUN find /var/www/html -type f -exec dos2unix {} \; # Install PHP extensions -RUN docker-php-ext-configure gd --with-freetype --with-webp +RUN docker-php-ext-configure gd --with-freetype --with-webp --with-jpeg RUN docker-php-ext-install gd RUN docker-php-ext-install pdo_mysql RUN docker-php-ext-install mysqli