-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
During an upgrade to PHP 7.4 I can't specify options to docker-php-ext-configure
test Dockerfile below
FROM php:7.4.0-apache
# packages
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
# needed for gd
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
&& rm -rf /var/lib/apt/lists/*
# GD
RUN docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr \
&& docker-php-ext-install -j "$(nproc)" gd
RUN php -r 'var_dump(gd_info());'output from step 3
configure: WARNING: unrecognized options: --with-freetype-dir, --with-jpeg-dir, --with-png-dir
output from step 4
array(13) {
["GD Version"]=>
string(26) "bundled (2.1.0 compatible)"
["FreeType Support"]=>
bool(false)
["GIF Read Support"]=>
bool(true)
["GIF Create Support"]=>
bool(true)
["JPEG Support"]=>
bool(false)
["PNG Support"]=>
bool(true)
["WBMP Support"]=>
bool(true)
["XPM Support"]=>
bool(false)
["XBM Support"]=>
bool(true)
["WebP Support"]=>
bool(false)
["BMP Support"]=>
bool(true)
["TGA Read Support"]=>
bool(true)
["JIS-mapped Japanese Font Support"]=>
bool(false)
}
Strubbl, pspeter3, bor8, sydowma, KeisukeKudo and 33 moremaxlipsky and kheengz
Metadata
Metadata
Assignees
Labels
No labels