Public Repository

Last pushed: 10 months ago
Short Description
mysql pgsql redis geoip
Full Description

FROM php:7.0-fpm

ENV VERSION 2.2.2

RUN apt-get update \
&& apt-get install -y \
libmcrypt-dev \
mysql-client \
libxslt1-dev \
redis-tools \
libpq-dev \
libgeoip-dev \
supervisor \
cron \
&& docker-php-ext-install mcrypt mysqli xsl pdo pdo_mysql pdo_pgsql \
&& pecl install -o -f redis \
&& rm -rf /tmp/pear \
&& apt-get clean \
&& echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini \
&& pecl install geoip-beta \
&& echo "extension=geoip.so" > /usr/local/etc/php/conf.d/geoip.ini \
&& rm -rf /var/lib/apt/lists/*

CMD ["/usr/bin/supervisord","-n","-c","/etc/supervisor/supervisord.conf"]

Docker Pull Command
Owner
infrasystems

Comments (0)