Change configure for gd
This commit is contained in:
parent
ab12261b81
commit
88c1064ebd
@ -33,7 +33,7 @@ RUN mv /sbin/init /sbin/init.tmp \
|
||||
&& make install \
|
||||
&& ldconfig \
|
||||
&& apt-get install -y libbz2-dev libgmp-dev libpng-dev libjpeg-dev libfreetype6-dev --no-install-recommends \
|
||||
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/freetype2 --with-jpeg-dir=/usr/include/ \
|
||||
&& docker-php-ext-configure gd --with-freetype=/usr/include/freetype2 --with-jpeg=/usr/include/ \
|
||||
&& docker-php-ext-install -j$(nproc) bz2 sockets gmp gd pcntl exif \
|
||||
&& pecl install imagick && docker-php-ext-enable imagick \
|
||||
&& apt-get purge -y build-essential libtool wget libbz2-dev libgmp-dev libpng-dev libjpeg-dev libfreetype6-dev libmagickcore-dev \
|
||||
|
Loading…
Reference in New Issue
Block a user