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:5.6-apache | |
# Enable Apache Rewrite Module | |
RUN a2enmod rewrite | |
# Install PHP extensions | |
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libcurl4-gnutls-dev curl git php-pear php-apc \ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ | |
&& docker-php-ext-install gd \ |