Created
January 8, 2015 17:17
-
-
Save soarez/1220e67f297c6e797c3b to your computer and use it in GitHub Desktop.
phantomjs dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
MAINTAINER blueoffice | |
ENV PHANTOMJS_BINARY https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 | |
RUN apt-get update && \ | |
apt-get install -y wget libfontconfig && \ | |
wget $PHANTOMJS_BINARY -O phantomjs.tar.bz2 && \ | |
tar xf phantomjs.tar.bz2 && \ | |
rm phantomjs.tar.bz2 && \ | |
mv phantomjs* phantomjs | |
EXPOSE 4444 | |
CMD [ "/phantomjs/bin/phantomjs", "--webdriver=4444" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment