Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-cucumber

Based on ruby:1.9.3

This is:

  • cucumber
  • phantomjs 1.9.7
  • casperjs
  • capybara

Derived from https://registry.hub.docker.com/u/cmfatih/phantomjs/dockerfile/
and adapted to use the official Ruby base image
with the addition of ONBUILD triggers to copy the current working directory
into a volume and install the bundles.

USAGE

Create a new docker file:

FROM antonyh/cucumber

[(re)build the image when the tests change]

docker build -t cucumber . 

[run the image]

docker run --rm -it -e HOST="http://server:port" cucumber 

Better yet... do it in one step.

docker build -t cucumber . && docker run --rm -it -e HOST="http://server:port" cucumber

Enjoy.

Docker Pull Command
Owner
antonyh
Source Repository

Comments (2)
antonyh
3 years ago

Thanks gyulaweber, it's great that it works & I hope that it's useful for you.

gyulaweber
3 years ago

Everything works perfectly, i have built the image from the Dockerfile, very nice job, thank you!