Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Stick with PHPUnit < 9.5 for PHP 8
Since PHPUnit 9.5 introduces breaking changes, stick its version to
9.4.4 for the PHP 8 image.

Signed-off-by: Vincent Petry <[email protected]>
  • Loading branch information
PVince81 committed Mar 24, 2021
commit 63e104262efe44fbec83b8ec50e1c330f66b614f
7 changes: 4 additions & 3 deletions php8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ RUN apt-get update && apt-get install -y wget gnupg2 libzip4 apt-transport-https
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*

RUN phpenmod zip intl gd systemd
RUN curl -O -L https://phar.phpunit.de/phpunit-9.phar \
&& chmod +x phpunit-9.phar \
&& mv phpunit-9.phar /usr/local/bin/phpunit
# Note: phpunit 9.5 contains breaking changes so we stick to the version before that
RUN curl -O -L https://phar.phpunit.de/phpunit-9.4.4.phar \
&& chmod +x phpunit-9.4.4.phar \
&& mv phpunit-9.4.4.phar /usr/local/bin/phpunit
RUN curl -O -L https://getcomposer.org/download/1.10.15/composer.phar \
&& chmod +x composer.phar \
&& mv composer.phar /usr/local/bin/composer
Expand Down