Public | Automated Build

Last pushed: 2 years ago
Short Description
PHPSpec: A php toolset to drive emergent design by specification.
Full Description

PHPSpec Docker Container

Docker container to install and run PHPSpec.


Installation / Usage

  1. Install the phpspec/phpspec container:

     $ docker pull phpspec/phpspec
  2. Create a phpspec.yml defining your spec suites.

             namespace: Acme\Text
             psr4_prefix: Acme\Text
  3. Run PHPSpec through the PHPSpec container:

     $ docker run -v $(pwd):/app phpspec/phpspec run

To run, test and develop the PHPSpec Dockerfile itself, you must use the source directly:

  1. Download the source:

     $ git clone
  2. Switch to the phpspec-docker directory:

     $ cd phpspec-docker
  3. Build the container:

     $ docker build -t phpspec/phpspec .
  4. Test running the container:

     $ docker run phpspec/phpspec help
Docker Pull Command
Source Repository