فهرست منبع

Merge pull request #651 from bsdnomad/master

Mark Shust 3 سال پیش
والد
کامیت
28e5c9f5ce
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 2 1
      images/php/7.4/Dockerfile
  2. 2 1
      images/php/8.1/Dockerfile

+ 2 - 1
images/php/7.4/Dockerfile

@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
   libfreetype6-dev \
   libicu-dev \
   libjpeg62-turbo-dev \
+  libwebp-dev \
   libmcrypt-dev \
   libonig-dev \
   libpng-dev \
@@ -24,7 +25,7 @@ RUN apt-get update && apt-get install -y \
   zip \
   procps
 
-RUN docker-php-ext-configure gd --with-freetype --with-jpeg
+RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp
 
 RUN docker-php-ext-install \
   bcmath \

+ 2 - 1
images/php/8.1/Dockerfile

@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
   libbz2-dev \
   libfreetype6-dev \
   libicu-dev \
+  libwebp-dev \
   libjpeg62-turbo-dev \
   libmcrypt-dev \
   libonig-dev \
@@ -24,7 +25,7 @@ RUN apt-get update && apt-get install -y \
   vim \
   zip
 
-RUN docker-php-ext-configure gd --with-freetype --with-jpeg
+RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp
 
 RUN docker-php-ext-install \
   bcmath \