diff --git a/php/README.md b/php/README.md index 18f0a5e68..dc2929dc1 100644 --- a/php/README.md +++ b/php/README.md @@ -75,7 +75,10 @@ For example, if you want to have a PHP-FPM image with `iconv`, `mcrypt` and `gd` FROM php:5.6-fpm # Install modules RUN apt-get update && apt-get install -y \ - libmcrypt-dev libpng12-dev libfreetype6-dev libjpeg62-turbo-dev \ + libfreetype6-dev \ + libjpeg62-turbo-dev \ + libmcrypt-dev \ + libpng12-dev \ && docker-php-ext-install iconv mcrypt \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install gd diff --git a/php/content.md b/php/content.md index 2911b83c4..c5559d775 100644 --- a/php/content.md +++ b/php/content.md @@ -61,7 +61,10 @@ For example, if you want to have a PHP-FPM image with `iconv`, `mcrypt` and `gd` FROM php:5.6-fpm # Install modules RUN apt-get update && apt-get install -y \ - libmcrypt-dev libpng12-dev libfreetype6-dev libjpeg62-turbo-dev \ + libfreetype6-dev \ + libjpeg62-turbo-dev \ + libmcrypt-dev \ + libpng12-dev \ && docker-php-ext-install iconv mcrypt \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install gd