Marvellous TeamCity Server with PHP CI Tools (see below). This build is based on official TeamCity Agent Docker build.
- PHP 7.2 CLI
- PHPUnit version 7 (https://phpunit.de/)
- db-unit (https://github.com/sebastianbergmann/dbunit)
- php-invoker (https://github.com/sebastianbergmann/php-invoker)
- phpunit-selenium (https://github.com/giorgiosironi/phpunit-selenium)
- PHP Dead Code Detector (https://github.com/sebastianbergmann/phpdcd) (abandoned, for backward compatibility only)
- PHPMD (https://github.com/phpmd/phpmd)
- PHP_Depend (https://github.com/pdepend/pdepend)
- PHP Documentor (https://www.phpdoc.org/)
- PHP_CodeBrowser (https://github.com/mayflower/PHP_CodeBrowser)
- PHPLoc (https://github.com/sebastianbergmann/phploc)
- PHP_CodeSniffer (https://github.com/squizlabs/PHP_CodeSniffer)
- Pull image
docker pull aleksxp/teamcity-agent-php
optional - You will need teamcity-agent to run builds.
- Run ```docker run -it -e SERVER_URL="" \
-v :/data/teamcity_agent/conf \
aleksxp/teamcity-agent-php``
Read more about docker run option in official Docker documentstion. Also you can use the documentation for official TeamCity agent image
The full documentation is placed on project site.
- Create directory
- CD into created directory
- Create Dockerfile. Use
FROM aleksxp/teamcity-php
. Add whatever you need. - Run
docker build -t your_image_name .
Read more about Dockerfile and docker build in official Docker documentation.
- Alexander Pankov ap@wdevs.ru
This project is licensed under the MIT License - see the LICENSE.md file for details