From 16751e2924b740771ef701b1a274c190368c4576 Mon Sep 17 00:00:00 2001 From: Janez Urevc Date: Tue, 17 May 2016 12:53:51 +0200 Subject: [PATCH] Add phantomjs image. --- phantomjs/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 phantomjs/Dockerfile diff --git a/phantomjs/Dockerfile b/phantomjs/Dockerfile new file mode 100644 index 0000000..b28742c --- /dev/null +++ b/phantomjs/Dockerfile @@ -0,0 +1,11 @@ +FROM drupaldocker/drush:latest +MAINTAINER drupal-docker + +RUN apt-get update && apt-get install -y libfontconfig1 bzip2 \ + && rm -rf /var/lib/apt/lists/* + +ADD https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 /root +RUN cd /root && tar xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2 && mv phantomjs-2.1.1-linux-x86_64 phantomjs + +CMD ["/root/phantomjs/bin/phantomjs", "--webdriver=8643"] +