From 1374f2462c84adf6cf7887ead65eee7511495038 Mon Sep 17 00:00:00 2001 From: staskrak Date: Sun, 7 May 2017 21:29:23 +0300 Subject: [PATCH] :elephant: add the pgsql extension. add redis. add memcached --- Dockerfile | 16 +++++++++------- README.md | 33 ++++++++++++++++++++++++++++----- 2 files changed, 37 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e1e67d..59da837 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,7 @@ RUN /var/www/lyberteam/lyberteam-message.sh MAINTAINER Lyberteam LABEL Vendor="Lyberteam" LABEL Description="PHP-FPM v7.0.18" -LABEL Version="1.0.4" -LABEL Thanks="https://github.com/LinMAD" +LABEL Version="1.0.5" ENV LYBERTEAM_TIME_ZONE Europe/Kiev @@ -34,6 +33,7 @@ RUN apt-get update -yqq \ wget \ mc \ curl \ + php7.0-pgsql \ php7.0-mysql \ php7.0-opcache \ php7.0-common \ @@ -49,6 +49,8 @@ RUN apt-get update -yqq \ php7.0-curl \ php7.0-gd \ php7.0-dev \ + php7.0-redis \ + php7.0-memcached \ php7.0-fpm # Add default timezone @@ -57,11 +59,11 @@ RUN echo "date.timezone=$LYBERTEAM_TIME_ZONE" > /etc/php/7.0/cli/conf.d/timezone # Install phpredis extension -RUN mkdir /tmp/phpredis \ - && cd /tmp/phpredis \ - && git clone -b php7 https://github.com/phpredis/phpredis . \ - && phpize7.0 && ./configure && make && make install \ - && echo "extension=redis.so" > /etc/php/7.0/mods-available/redis.ini +#RUN mkdir /tmp/phpredis \ +# && cd /tmp/phpredis \ +# && git clone -b php7 https://github.com/phpredis/phpredis . \ +# && phpize7.0 && ./configure && make && make install \ +# && echo "extension=redis.so" > /etc/php/7.0/mods-available/redis.ini ## Install Xdebug extension #RUN mkdir /tmp/xdebug \ diff --git a/README.md b/README.md index 50b0b6d..08b5654 100755 --- a/README.md +++ b/README.md @@ -1,8 +1,31 @@ ## PHP-FPM Image - ** Helpful PHP-FPM image from oficial debian:jessie + **Helpful PHP-FPM image from oficial debian:jessie** - > This image was done from the official php-fpm image; - > There are also have installed a lot of useful extensions - > DateTime - Europe/Kiev - > Composer installed globally \ No newline at end of file + > PHP-FPM version - 7.0.18 \ + > This image was done from the official php-fpm image; \ + > There are also have installed a lot of useful extensions \ + > DateTime - Europe/Kiev \ + > Composer installed globally + +### Extensions: + + * php7.0-pgsql + * php7.0-mysql + * php7.0-opcache + * php7.0-common + * php7.0-mbstring + * php7.0-mcrypt + * php7.0-soap + * php7.0-cli + * php7.0-intl + * php7.0-json + * php7.0-xsl + * php7.0-imap + * php7.0-ldap + * php7.0-curl + * php7.0-gd + * php7.0-dev + * php7.0-fpm + * php7.0-redis + * php7.0-memcached \ No newline at end of file