fix a typo (to enable jpeg support)

This commit is contained in:
AaronJan 2015-02-10 21:35:22 +08:00
parent 86b7e95e64
commit 683a685ed1
1 changed files with 1 additions and 1 deletions

View File

@ -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"]