add some comments sections to the php dockerfiles
This commit is contained in:
		| @@ -42,6 +42,10 @@ RUN docker-php-ext-install pdo_mysql | ||||
| # Install the PHP pdo_pgsql extention | ||||
| RUN docker-php-ext-install pdo_pgsql | ||||
|  | ||||
| ##################################### | ||||
| # gd: | ||||
| ##################################### | ||||
|  | ||||
| # Install the PHP gd library | ||||
| RUN docker-php-ext-install gd && \ | ||||
|     docker-php-ext-configure gd \ | ||||
| @@ -49,6 +53,10 @@ RUN docker-php-ext-install gd && \ | ||||
|         --with-jpeg-dir=/usr/lib \ | ||||
|         --with-freetype-dir=/usr/include/freetype2 | ||||
|  | ||||
| ##################################### | ||||
| # MongoDB: | ||||
| ##################################### | ||||
|  | ||||
| ARG INSTALL_MONGO=true | ||||
| ENV INSTALL_MONGO ${INSTALL_MONGO} | ||||
| RUN if [ ${INSTALL_MONGO} = true ]; then \ | ||||
| @@ -56,6 +64,10 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \ | ||||
|     pecl install mongodb \ | ||||
| ;fi | ||||
|  | ||||
| ##################################### | ||||
| # xDebug: | ||||
| ##################################### | ||||
|  | ||||
| ARG INSTALL_XDEBUG=true | ||||
| ENV INSTALL_XDEBUG ${INSTALL_XDEBUG} | ||||
| RUN if [ ${INSTALL_XDEBUG} = true ]; then \ | ||||
| @@ -64,6 +76,7 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \ | ||||
|     docker-php-ext-enable xdebug \ | ||||
| ;fi | ||||
|  | ||||
|  | ||||
| # | ||||
| #-------------------------------------------------------------------------- | ||||
| # Final Touch | ||||
|   | ||||
| @@ -42,6 +42,10 @@ RUN docker-php-ext-install pdo_mysql | ||||
| # Install the PHP pdo_pgsql extention | ||||
| RUN docker-php-ext-install pdo_pgsql | ||||
|  | ||||
| ##################################### | ||||
| # gd: | ||||
| ##################################### | ||||
|  | ||||
| # Install the PHP gd library | ||||
| RUN docker-php-ext-install gd && \ | ||||
|     docker-php-ext-configure gd \ | ||||
| @@ -49,6 +53,10 @@ RUN docker-php-ext-install gd && \ | ||||
|         --with-jpeg-dir=/usr/lib \ | ||||
|         --with-freetype-dir=/usr/include/freetype2 | ||||
|  | ||||
| ##################################### | ||||
| # MongoDB: | ||||
| ##################################### | ||||
|  | ||||
| ARG INSTALL_MONGO=true | ||||
| ENV INSTALL_MONGO ${INSTALL_MONGO} | ||||
| RUN if [ ${INSTALL_MONGO} = true ]; then \ | ||||
| @@ -56,6 +64,10 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \ | ||||
|     pecl install mongodb \ | ||||
| ;fi | ||||
|  | ||||
| ##################################### | ||||
| # xDebug: | ||||
| ##################################### | ||||
|  | ||||
| ARG INSTALL_XDEBUG=true | ||||
| ENV INSTALL_XDEBUG ${INSTALL_XDEBUG} | ||||
| RUN if [ ${INSTALL_XDEBUG} = true ]; then \ | ||||
| @@ -64,6 +76,10 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \ | ||||
|     docker-php-ext-enable xdebug \ | ||||
| ;fi | ||||
|  | ||||
| ##################################### | ||||
| # Memcached: | ||||
| ##################################### | ||||
|  | ||||
| # Install the memcached extention | ||||
| RUN curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-memcached/archive/php7.tar.gz" \ | ||||
|     && mkdir -p memcached \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Mahmoud Zalt
					Mahmoud Zalt