FROM magnum/php-build
MAINTAINER Dan Sosedoff "dan@magnum-ci.com"

# Install PHP runtime
RUN php-build -i development --pear 5.4.25 /usr/local

# Install PHPUnit
RUN pear channel-discover pear.phpunit.de
RUN pear install phpunit/PHPUnit

# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
FROM magnum/php-build
MAINTAINER Dan Sosedoff "dan@magnum-ci.com"

# Install PHP runtime
RUN php-build -i development --pear 5.4.25 /usr/local

# Tweak PHP configuration
RUN sed -i "/;date.timezone =/c\date.timezone = UTC" /usr/local/etc/php.ini
RUN sed -i "/memory_limit = /c\memory_limit = 512M" /usr/local/etc/php.ini

# Install PHPUnit
RUN pear channel-discover pear.phpunit.de
RUN pear install phpunit/PHPUnit

# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
Change php timezone and memory limit
Change php timezone and memory limit
