From bf8a5aaf25ef896f69d686db8836bdf326a08e71 Mon Sep 17 00:00:00 2001 From: Magnus Walbeck Date: Fri, 22 Jan 2021 16:59:43 +0100 Subject: [PATCH] Fix gd build flags for php 7.4+ --- 1.7/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1.7/Dockerfile b/1.7/Dockerfile index 6cd169b..6a66f96 100644 --- a/1.7/Dockerfile +++ b/1.7/Dockerfile @@ -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 \ -- 2.45.2