From 1108636f8da37c54a3ca1f4c45e794f4bd69e41d Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Sat, 10 Dec 2016 08:46:38 -0800 Subject: [PATCH] Update more spaces to tabs --- php/content.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/php/content.md b/php/content.md index 7d830bad7..c87f682ce 100644 --- a/php/content.md +++ b/php/content.md @@ -84,13 +84,13 @@ For example, if you want to have a PHP-FPM image with `iconv`, `mcrypt` and `gd` ```dockerfile FROM php:7.0-fpm RUN apt-get update && apt-get install -y \ - libfreetype6-dev \ - libjpeg62-turbo-dev \ - libmcrypt-dev \ - libpng12-dev \ - && docker-php-ext-install -j$(nproc) iconv mcrypt \ - && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ - && docker-php-ext-install -j$(nproc) gd + libfreetype6-dev \ + libjpeg62-turbo-dev \ + libmcrypt-dev \ + libpng12-dev \ + && docker-php-ext-install -j$(nproc) iconv mcrypt \ + && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ + && docker-php-ext-install -j$(nproc) gd ``` Remember, you must install dependencies for your extensions manually. If an extension needs custom `configure` arguments, you can use the `docker-php-ext-configure` script like this example. There is no need to run `docker-php-source` manually in this case, since that is handled by the `configure` and `install` scripts.