Created
May 17, 2016 14:43
-
-
Save tdutrion/0d01a7559655ad323ef06a1ea33d6aaa to your computer and use it in GitHub Desktop.
Dockerfile PHP7-FPM with extensions (Redis, pdo_mysql, pdo_pgsql, intl, curl, json, opcache and xml) - large image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 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/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment