Remove intermediate containers -‐-‐no-‐cache=false Do not use cache when building -‐q, -‐-‐quiet=false Suppress verbose output -‐-‐rm=true Remove intermediate containers -‐t, -‐-‐tag="" Repository name and tag DOCKERFILE
For simplicity, a global phpunit.phar install • We need a workdir to define where we will run our tests later • Tag as registry.dockerworkshop.dev/ phpunit:php55
docker run & build commands • For single containers • A single, simple YAML file • Allows us to configure our tests a bit similar to Travis (right in our project)
fixtures and run Behat • Build separate DB containers with different fixtures • If a test fails, push the resulting container to a registry for further analysis • …