Browse Source

fix a typo (to enable jpeg support)

AaronJan 10 years ago
parent
commit
683a685ed1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/content.md

+ 1 - 1
php/content.md

@@ -79,7 +79,7 @@ extensions, you can inheriting the base image that you like, and write your own
     RUN apt-get update && apt-get install -y \
         libmcrypt-dev libpng12-dev libfreetype6-dev libjpeg62-turbo-dev \
         && docker-php-ext-install iconv mcrypt \
-        && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-gd-dir=/usr/include/ \
+        && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
         && docker-php-ext-install gd
     CMD ["php-fpm"]