Sign inSign up

aleksxp/teamcity-agent-php

By aleksxp

Updated almost 8 years ago

TeamCity Agent with PHP tools

Image
0

347

aleksxp/teamcity-agent-php repository overview

TeamCity Agent (with PHP extensions)

Marvellous TeamCity Server with PHP CI Tools (see below). This build is based on official TeamCity Agent Docker build.

PHP Tools included

  1. PHP 7.2 CLI
  2. PHPUnit version 7 (https://phpunit.de/)
    1. db-unit (https://github.com/sebastianbergmann/dbunit)
    2. php-invoker (https://github.com/sebastianbergmann/php-invoker)
    3. phpunit-selenium (https://github.com/giorgiosironi/phpunit-selenium)
  3. PHP Dead Code Detector (https://github.com/sebastianbergmann/phpdcd) (abandoned, for backward compatibility only)
  4. PHPMD (https://github.com/phpmd/phpmd)
  5. PHP_Depend (https://github.com/pdepend/pdepend)
  6. PHP Documentor (https://www.phpdoc.org/)
  7. PHP_CodeBrowser (https://github.com/mayflower/PHP_CodeBrowser)
  8. PHPLoc (https://github.com/sebastianbergmann/phploc)
  9. PHP_CodeSniffer (https://github.com/squizlabs/PHP_CodeSniffer)

Getting Started

  1. Pull image docker pull aleksxp/teamcity-agent-php optional
  2. You will need teamcity-agent to run builds.
  3. 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

Documentation

The full documentation is placed on project site.

Build

  1. Create directory
  2. CD into created directory
  3. Create Dockerfile. Use FROM aleksxp/teamcity-php. Add whatever you need.
  4. Run docker build -t your_image_name .

Read more about Dockerfile and docker build in official Docker documentation.

Prerequisites
  1. Docker

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Tag summary

Content type

Image

Digest

Size

639.2 MB

Last updated

almost 8 years ago

docker pull aleksxp/teamcity-agent-php