소스 검색

Reformat PHP's "more extensions" example to match our standard Dockerfile formatting

Tianon Gravi 11 년 전
부모
커밋
f4bbd50253
2개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 1
      php/README.md
  2. 4 1
      php/content.md

+ 4 - 1
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

+ 4 - 1
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