Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FROM php:7.1-apache
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng12-dev \
libicu-dev \
git \
unzip \
libpcre3-dev \
&& docker-php-ext-install -j$(nproc) zip intl mysqli iconv mcrypt opcache pdo pdo_mysql \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd \
&& pecl install redis-3.1.1 \
&& docker-php-ext-enable redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.