summaryrefslogtreecommitdiffstats
path: root/Dockerfile-debian.template
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 /Dockerfile-debian.template
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 'Dockerfile-debian.template')
-rw-r--r--Dockerfile-debian.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template
index 3c955de6..6c8b78ad 100644
--- a/Dockerfile-debian.template
+++ b/Dockerfile-debian.template
@@ -35,10 +35,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 \