Skip to content

Commit a533670

Browse files
committed
build(docker): add gd2
1 parent 8598ae8 commit a533670

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

7.1/jessie/fpm/mssql/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,11 @@ RUN apt-get install -y curl libmcrypt-dev openssh-client zlib1g-dev git \
3232
&& echo "xdebug.remote_port=9000" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
3333
&& echo "xdebug.remote_handler=dbgp" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
3434
&& echo "xdebug.remote_connect_back=0" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
35+
36+
# Install GD2
37+
RUN apt-get update && apt-get install -y \
38+
libfreetype6-dev \
39+
libjpeg62-turbo-dev \
40+
libpng-dev \
41+
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
42+
&& docker-php-ext-install gd

0 commit comments

Comments
 (0)