Skip to content

Instantly share code, notes, and snippets.

View mohamednizar's full-sized avatar

Mohamed Nizar mohamednizar

View GitHub Profile
@mohamednizar
mohamednizar / Dockerfile
Created October 26, 2018 11:29 — forked from tdutrion/Dockerfile
Dockerfile PHP7-FPM with extensions (Redis, pdo_mysql, pdo_pgsql, intl, curl, json, opcache and xml) - large image
FROM php:7-fpm
RUN apt-get update && apt-get install -y git libcurl4-gnutls-dev zlib1g-dev libicu-dev g++ libxml2-dev libpq-dev \
&& git clone -b php7-ipv6 https://github.com/phpredis/phpredis.git /usr/src/php/ext/redis \
&& docker-php-ext-install pdo pdo_mysql pdo_pgsql pgsql intl curl json opcache xml redis \
&& apt-get autoremove && apt-get autoclean \
&& rm -rf /var/lib/apt/lists/*