Skip to content

Commit

Permalink
🐘 add the pgsql extension. add redis. add memcached
Browse files Browse the repository at this point in the history
  • Loading branch information
staskrak committed May 7, 2017
1 parent 22e04d8 commit 1374f24
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 12 deletions.
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ RUN /var/www/lyberteam/lyberteam-message.sh
MAINTAINER Lyberteam <lyberteamltd@gmail.com>
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

Expand All @@ -34,6 +33,7 @@ RUN apt-get update -yqq \
wget \
mc \
curl \
php7.0-pgsql \
php7.0-mysql \
php7.0-opcache \
php7.0-common \
Expand All @@ -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
Expand All @@ -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 \
Expand Down
33 changes: 28 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
> 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

0 comments on commit 1374f24

Please sign in to comment.