Skip to content

Instantly share code, notes, and snippets.

@soarez soarez/Dockerfile
Created Jan 8, 2015

Embed
What would you like to do?
phantomjs dockerfile
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
You can’t perform that action at this time.