Skip to content

edwinvdgraaf/docker-ruby-node-phantomjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-ruby-node-phantomjs

This docker instances is the all in stop for running karma with a compiled phantomjs.

What's inside

The supplied Dockerfile will create an images for docker containers with ruby, nodejs and phantomjs. Mainly to run the headless tests of karma.

The reason that phantomjs is contained in a git repository is because of the time (> 1.5h) it takes to build phantomjs from source on my macbook. To avoid this time, a separate Dockerfile is used to build the binary.

This README assume a working docker environment, for OSX (boot2docker) provides a adequate way to set this up.

Getting started

Getting the image

$ docker pull edwinvdgraaf/ruby-node-phantomjs

Building the image (locally)

$ docker build edwinvdgraaf/ruby-node-phantomjs .

Running

$ docker run -t -i edwinvdgraaf/ruby-node-phantomjs

Testing

$ bundle exec rspec

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages