Skip to content

Commit

Permalink
installing phpunit
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardomlima committed Jun 15, 2017
1 parent 344d6a3 commit f563811
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:latest

MAINTAINER Ricardo Monteiro e Lima <[email protected]>

RUN apk add --update --upgrade bash git curl
RUN apk add --update --upgrade bash git curl openssl

RUN apk add php7 \
#REQUIRED BY COMPOSER
Expand All @@ -25,8 +25,17 @@ RUN apk add php7 \
php7-memcached \
#REQUIRED BY LUMEN & ARTISAN (migrate)
php7-pdo_mysql \
#REQUIRED BY PHPUNIT
php7-iconv \
#REQUIRED BY PHPUNIT
php7-dom \
php7-fpm

#INSTALLING PHPUNIT
RUN wget https://phar.phpunit.de/phpunit.phar && \
chmod +x phpunit.phar && \
mv phpunit.phar /usr/local/bin/phpunit

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
composer self-update

Expand Down

0 comments on commit f563811

Please sign in to comment.