From c3e0bd2cd7e09b49c82a6d6605682cc25da001b8 Mon Sep 17 00:00:00 2001 From: Tao Sasaki <485749+tao-s@users.noreply.github.com> Date: Fri, 5 Feb 2021 16:15:45 +0900 Subject: [PATCH] =?UTF-8?q?GD=E3=81=A7jpeg=E3=82=84webp=E3=82=92=E6=89=B1?= =?UTF-8?q?=E3=81=88=E3=82=8B=E6=A7=98=E3=81=ABDokerfile=E3=82=92=E5=A4=89?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index abaea3ccd06..b9f14ecdba9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ RUN apt-get update \ ssl-cert \ unzip \ zlib1g-dev \ + libwebp-dev \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ && echo "en_US.UTF-8 UTF-8" >/etc/locale.gen \ @@ -30,6 +31,7 @@ RUN apt-get update \ ; RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \ + && docker-php-ext-configure gd --with-webp-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/ \ && docker-php-ext-install -j$(nproc) zip gd mysqli pdo_mysql opcache intl pgsql pdo_pgsql \ ;