Browse Source

PHP 7.1 Docker new phpunit and new composer

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/php7.0-18
Roeland Jago Douma 1 year ago
parent
commit
2d7e702ef2
No account linked to committer's email address
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      php7.1/Dockerfile

+ 4
- 4
php7.1/Dockerfile View File

@@ -13,10 +13,10 @@ RUN cd /tmp/ && wget https://github.com/nikic/php-ast/archive/master.zip && unzi
RUN cd /tmp/php-ast-master/ && phpize && ./configure && make && make install && rm -rf /tmp/php-ast-master/
RUN echo "extension=ast.so" >> /etc/php/7.1/cli/conf.d/20-ast.ini
RUN phpenmod zip intl gd
RUN curl -O -L https://phar.phpunit.de/phpunit-5.5.4.phar \
&& chmod +x phpunit-5.5.4.phar \
&& mv phpunit-5.5.4.phar /usr/local/bin/phpunit
RUN curl -O -L https://getcomposer.org/download/1.1.2/composer.phar \
RUN curl -O -L https://phar.phpunit.de/phpunit-6.5.5.phar \
&& chmod +x phpunit-6.5.5.phar \
&& mv phpunit-6.5.5.phar /usr/local/bin/phpunit
RUN curl -O -L https://getcomposer.org/download/1.6.2/composer.phar \
&& chmod +x composer.phar \
&& mv composer.phar /usr/local/bin/composer


Loading…
Cancel
Save