Sign inSign up

joehorn/phpunit

By joehorn

Updated 6 days ago

Docker image for doing CI jobs with phpunit , phpcs , phpcbf , and composer.

Image
Developer tools
0

10K+

joehorn/phpunit repository overview

PHPUnit Docker image

This image was built for doing CI jobs with GitLab runner or CLI , and it was built with Composer , PHP_CodeSniffer , and Xdebug for PHPUnit code coverage report feature.

Active tags

All tags was built with Composer ver. 2.9 , PHP_CodeSniffer ver. 3.7 (w/phpcbf) .

  • 13-php8.5 : PHPUnit 13 based on PHP 8.5
  • 13-php8.4 : PHPUnit 13 based on PHP 8.4
  • 12-php8.3 : PHPUnit 12 based on PHP 8.3
  • 11-php8.2 : PHPUnit 11 based on PHP 8.2
  • 10-php8.1 : PHPUnit 10 based on PHP 8.1
  • 9-php7.4 : PHPUnit 9 based on PHP 7.4

Volume(s)

  • /workspace

Built-in tools/commands

  • composer
  • phpcbf
  • phpcs
  • phpunit
  • rsync

Notes

  • This image can run with GitLab runner.
  • This image can be directly run in CLI and mount volume, but file/directory permissions might be changed.
  # chmod -R 777 .
  # docker run --rm -v "$(pwd)":/workspace joehorn/phpunit:tagname phpunit tests/SampleClassTest.php

Maintainer info.

Blog : https://www.joehorn.tw/

Tag summary

Content type

Image

Digest

sha256:c2be0903c

Size

54.8 MB

Last updated

6 days ago

docker pull joehorn/phpunit:13-php8.4