|
@ -50,9 +50,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- \ |
|
|
# Install PHP extensions |
|
|
# Install PHP extensions |
|
|
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ |
|
|
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ |
|
|
&& echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8 \ |
|
|
&& echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8 \ |
|
|
&& git clone https://github.com/phpredis/phpredis /usr/src/php/ext/redis \ |
|
|
|
|
|
&& cd /usr/src/php/ext/redis && git checkout -b php7 origin/php7 \ |
|
|
|
|
|
&& docker-php-ext-configure redis \ |
|
|
|
|
|
|
|
|
&& pecl install redis \ |
|
|
&& git clone https://github.com/php-memcached-dev/php-memcached /usr/src/php/ext/memcached \ |
|
|
&& git clone https://github.com/php-memcached-dev/php-memcached /usr/src/php/ext/memcached \ |
|
|
&& cd /usr/src/php/ext/memcached && git checkout -b php7 origin/php7 \ |
|
|
&& cd /usr/src/php/ext/memcached && git checkout -b php7 origin/php7 \ |
|
|
&& docker-php-ext-configure memcached \ |
|
|
&& docker-php-ext-configure memcached \ |
|
@ -74,10 +72,10 @@ RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-di |
|
|
sockets \ |
|
|
sockets \ |
|
|
zip \ |
|
|
zip \ |
|
|
memcached \ |
|
|
memcached \ |
|
|
redis \ |
|
|
|
|
|
pcntl \ |
|
|
pcntl \ |
|
|
&& docker-php-ext-enable \ |
|
|
&& docker-php-ext-enable \ |
|
|
oci8 \ |
|
|
oci8 \ |
|
|
|
|
|
redis \ |
|
|
opcache |
|
|
opcache |
|
|
|
|
|
|
|
|
# Install APCu and APC backward compatibility |
|
|
# Install APCu and APC backward compatibility |
|
@ -86,6 +84,10 @@ RUN pecl install apcu \ |
|
|
&& docker-php-ext-enable apcu --ini-name 10-docker-php-ext-apcu.ini \ |
|
|
&& docker-php-ext-enable apcu --ini-name 10-docker-php-ext-apcu.ini \ |
|
|
&& docker-php-ext-enable apc --ini-name 20-docker-php-ext-apc.ini |
|
|
&& docker-php-ext-enable apc --ini-name 20-docker-php-ext-apc.ini |
|
|
|
|
|
|
|
|
|
|
|
# Install PHPUnit 5.5 |
|
|
|
|
|
RUN wget https://phar.phpunit.de/phpunit.phar -O /usr/local/bin/phpunit \ |
|
|
|
|
|
&& chmod +x /usr/local/bin/phpunit |
|
|
|
|
|
|
|
|
# Clean repository |
|
|
# Clean repository |
|
|
RUN apt-get clean \ |
|
|
RUN apt-get clean \ |
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|
&& rm -rf /var/lib/apt/lists/* |