HUB
Sign inSign up

cosmicvelocity/phantomjs

By cosmicvelocity

•Updated over 9 years ago

Unofficial PhantomJS docker image.

Image
0

257

cosmicvelocity/phantomjs repository overview

⁠phantomjs

Unofficial PhantomJS⁠ docker image.

⁠Install

sudo curl -L https://raw.githubusercontent.com/cosmicvelocity/docker-phantomjs/2.1.1/script/run.sh > /usr/local/bin/docker-phantomjs
sudo chmod +x /usr/local/bin/docker-phantomjs

$ docker-phantomjs --version
2.1.1

⁠How to use this image

$ docker-phantomjs rasterize.js http://www.yahoo.co.jp/ test.jpg

or

$ docker run -it --rm -v $(pwd):$(pwd) -w $(pwd) cosmicvelocity/phantomjs:2.1.1 rasterize.js http://www.yahoo.co.jp/ sample.png

⁠License

View license information for the software contained in this image.

Tag summary
Recent tags
Content type
Image
Digest
Size
71.5 MB
Last updated
over 9 years ago
docker pull cosmicvelocity/phantomjs:latest