Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Usage

docker run -d -p 4444:4444 blueoffice/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" ] 
Docker Pull Command
Owner
blueoffice

Comments (0)