summaryrefslogtreecommitdiffstats
path: root/16.0
diff options
context:
space:
mode:
authorFlow86 <656249+Flow86@users.noreply.github.com>2019-06-27 14:01:35 +0200
committerJ0WI <J0WI@users.noreply.github.com>2019-06-27 14:01:35 +0200
commitf5665e148271b97d28d5b91bff3baf5427ec8126 (patch)
tree9813d9cea72ae190fbc275103c6ed70f532964b8 /16.0
parent3f40b69c54460f565600da9dce0f04cf160ee54a (diff)
Enable WEBP support in PHP's gd in debian and alpine containers (#785)
Signed-off-by: Flow86 <656249+Flow86@users.noreply.github.com>
Diffstat (limited to '16.0')
-rw-r--r--16.0/apache/Dockerfile3
-rw-r--r--16.0/fpm-alpine/Dockerfile3
-rw-r--r--16.0/fpm/Dockerfile3
3 files changed, 6 insertions, 3 deletions
diff --git a/16.0/apache/Dockerfile b/16.0/apache/Dockerfile
index 673fb95f..47d5de4d 100644
--- a/16.0/apache/Dockerfile
+++ b/16.0/apache/Dockerfile
@@ -36,10 +36,11 @@ RUN set -ex; \
libxml2-dev \
libmagickwand-dev \
libzip-dev \
+ libwebp-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
- docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
exif \
diff --git a/16.0/fpm-alpine/Dockerfile b/16.0/fpm-alpine/Dockerfile
index 36816817..07a5103b 100644
--- a/16.0/fpm-alpine/Dockerfile
+++ b/16.0/fpm-alpine/Dockerfile
@@ -31,9 +31,10 @@ RUN set -ex; \
pcre-dev \
postgresql-dev \
imagemagick-dev \
+ libwebp-dev \
; \
\
- docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \
docker-php-ext-configure ldap; \
docker-php-ext-install \
exif \
diff --git a/16.0/fpm/Dockerfile b/16.0/fpm/Dockerfile
index 2d960bdb..03107728 100644
--- a/16.0/fpm/Dockerfile
+++ b/16.0/fpm/Dockerfile
@@ -36,10 +36,11 @@ RUN set -ex; \
libxml2-dev \
libmagickwand-dev \
libzip-dev \
+ libwebp-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
- docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
docker-php-ext-install \
exif \