Permalink
Browse files

run tests using latest version of composer and codeception

  • Loading branch information...
gjerokrsteski committed Oct 28, 2018
1 parent ea35473 commit c5b8f48e20022b8a36816aa8077d557991e14174
Showing with 5 additions and 3 deletions.
  1. +3 −2 Dockerfile
  2. +2 −1 composer.json
@@ -15,8 +15,8 @@ RUN apt-get update -y \
RUN apt-get install -y php7.2 \
&& apt-get install -y php-pear php7.2-curl php7.2-dev php7.0-json php7.2-mbstring php7.2-zip php7.2-xml php7.2-pdo php7.2-sqlite3 php7.2-intl

RUN curl -s https://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/composer \
RUN curl -sS https://getcomposer.org/installer -o composer-setup.php \
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
&& composer update \
&& composer dump-autoload --optimize \
&& composer install
@@ -33,3 +33,4 @@ VOLUME /php-react/app/Articles/_database
RUN chmod +x run-server.php

ENTRYPOINT php run-server.php

@@ -18,6 +18,7 @@
"require": {
"react/react": "0.4.2",
"gjerokrsteski/pimf": "1.11.0",
"codeception/codeception": "2.4.3"
"codeception/codeception": "2.5.0"
}
}

0 comments on commit c5b8f48

Please sign in to comment.