From 445eef9fe52dbe165ababee1456437a65ecbfda3 Mon Sep 17 00:00:00 2001 From: Last2014 Date: Sun, 2 Nov 2025 15:22:44 +0900 Subject: [PATCH] Add: default-storage-engine as my.cnf / Fix: gd config --- db/my.cnf | 1 + php/Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/db/my.cnf b/db/my.cnf index 2af1750..50f1493 100644 --- a/db/my.cnf +++ b/db/my.cnf @@ -2,3 +2,4 @@ sql-mode = NO_ENGINE_SUBSTITUTION,NO_AUTO_VALUE_ON_ZERO character-set-server = utf8mb4 collation-server = utf8mb4_general_ci +default-storage-engine = InnoDB diff --git a/php/Dockerfile b/php/Dockerfile index f7406a9..c95b378 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -7,6 +7,7 @@ WORKDIR /var/www/html # Install packages(apt) RUN apt-get update 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 libfreetype6-dev @@ -24,7 +25,7 @@ COPY src /usr/src/app RUN find /usr/src/app/ -type f -exec dos2unix {} \; # Install packages(php) -RUN docker-php-ext-configure gd --with-freetype --with-jpeg +RUN docker-php-ext-configure gd --with-freetype --with-webp RUN docker-php-ext-install gd RUN docker-php-ext-install pdo_mysql RUN docker-php-ext-install mysqli