Skip to content

ervinb/phantomjs-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

phantomjs-sandbox

A companion repository for this blog post, about making reusable build environments for compiling stuff from source with Docker.

Run!

# optional build-arg for specifying which code revision
# will be checked out (2.1.1 by default)
$ git clone https://github.com/ervinb/phantomjs-sandbox.git && cd phantomjs-sandbox
$ docker build -t phantomjs-sandbox-211 --build-arg TAG=2.1.1 .
# reload your shotgun, twice
# (and get the shells from the factory)
docker run --rm --volume $(pwd)/trunk-$(date +%s):/phantomjs-src/bin phantomjs-sandbox
$ ./trunk-1482688158/phantomjs --version
> 2.1.1

About

A Docker sandbox for compiling PhantomJS from source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published