Skip to content

Commit 481bbec

Browse files
authored
Merge pull request #587 from hardebusch/master
feat: add libwebp support in Dockerfile for GD extension
2 parents 47e3c5c + 2599ad8 commit 481bbec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ RUN set -x; \
1919
libpng-dev \
2020
libldap2-dev \
2121
libtidy-dev \
22+
libwebp-dev \
2223
libxml2-dev \
2324
fontconfig \
2425
fonts-freefont-ttf \
@@ -30,7 +31,7 @@ RUN set -x; \
3031
&& docker-php-ext-install -j$(nproc) pdo pdo_mysql zip tidy \
3132
&& docker-php-ext-configure ldap \
3233
&& docker-php-ext-install -j$(nproc) ldap \
33-
&& docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
34+
&& docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include/ \
3435
&& docker-php-ext-install -j$(nproc) gd
3536

3637
RUN a2enmod rewrite remoteip; \

0 commit comments

Comments
 (0)