Fix gd build flags for php 7.4+ #58

Merged
mwalbeck merged 1 commits from fix-php-7.4-8-builds into master 2021-01-22 16:04:09 +00:00

View File

@ -1,4 +1,4 @@
FROM php:7.3.26-fpm-buster@sha256:cca12409a6b5f035af4e495a25fc2639fc82516d02e25457dbdf8505676ee4b0 FROM php:7.4.14-fpm-buster
SHELL [ "/bin/bash", "-c" ] SHELL [ "/bin/bash", "-c" ]
@ -36,7 +36,7 @@ RUN set -ex; \
libyaml-dev \ libyaml-dev \
libzip-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)" \ docker-php-ext-install -j "$(nproc)" \
zip \ zip \
gd \ gd \