Skip to content
This repository was archived by the owner on Nov 19, 2021. It is now read-only.

Commit c0b648d

Browse files
author
Sumit Madan
committed
Fixed gd extension configuration.
1 parent 1c61dca commit c0b648d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

php7.2/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip gnupg
88
RUN pecl install xdebug && docker-php-ext-enable xdebug
99
RUN ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h
1010
RUN rm -rf /var/lib/apt/lists/*
11-
RUN docker-php-ext-configure gd
11+
RUN docker-php-ext-configure gd --with-jpeg-dir --with-freetype-dir
1212
RUN docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip bcmath bz2 gmp soap xsl intl calendar
1313
RUN pecl install imagick && docker-php-ext-enable imagick
1414
RUN pecl install pcov && docker-php-ext-enable pcov

php7.3/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip bc bzi
88
RUN pecl install xdebug && docker-php-ext-enable xdebug
99
RUN ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h
1010
RUN rm -rf /var/lib/apt/lists/*
11-
RUN docker-php-ext-configure gd
11+
RUN docker-php-ext-configure gd --with-jpeg-dir --with-freetype-dir
1212
RUN docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip bcmath bz2 gmp soap xsl intl calendar
1313
RUN pecl install imagick && docker-php-ext-enable imagick
1414
RUN pecl install pcov && docker-php-ext-enable pcov

php7.4/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y libgmp-dev libxml2-dev acl unzip bc bzi
88
RUN pecl install xdebug && docker-php-ext-enable xdebug
99
RUN ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h
1010
RUN rm -rf /var/lib/apt/lists/*
11-
RUN docker-php-ext-configure gd
11+
RUN docker-php-ext-configure gd --with-jpeg --with-freetype
1212
RUN docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip bcmath bz2 gmp soap xsl intl calendar
1313
RUN pecl install imagick && docker-php-ext-enable imagick
1414
RUN pecl install pcov && docker-php-ext-enable pcov

0 commit comments

Comments
 (0)