diff --git a/scripts/docker/Dockerfile b/scripts/docker/Dockerfile index 9fac6519d..af5383280 100644 --- a/scripts/docker/Dockerfile +++ b/scripts/docker/Dockerfile @@ -41,13 +41,14 @@ RUN set -ex; \ libgmp-dev \ libmemcached-dev \ libmagickwand-dev \ + libwebp-dev \ ; \ \ debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ if [ ! -e /usr/include/gmp.h ]; then ln -s /usr/include/$debMultiarch/gmp.h /usr/include/gmp.h; fi;\ docker-php-ext-configure intl; \ - docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/; \ - docker-php-ext-configure gmp --with-gmp="/usr/include/$debMultiarch"; \ + docker-php-ext-configure gd --with-jpeg --with-freetype --with-webp; \ + docker-php-ext-configure gmp; \ docker-php-ext-install -j$(nproc) \ intl \ zip \