Fix gd build flags for php 7.4+ #58
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM php:7.3.26-fpm-buster@sha256:cca12409a6b5f035af4e495a25fc2639fc82516d02e25457dbdf8505676ee4b0
|
||||
FROM php:7.4.14-fpm-buster
|
||||
|
||||
SHELL [ "/bin/bash", "-c" ]
|
||||
|
||||
|
@ -36,7 +36,7 @@ RUN set -ex; \
|
|||
libyaml-dev \
|
||||
libzip-dev \
|
||||
; \
|
||||
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 gd --with-freetype --with-jpeg --with-webp; \
|
||||
docker-php-ext-install -j "$(nproc)" \
|
||||
zip \
|
||||
gd \
|
||||
|
|
Loading…
Reference in a new issue