Skip to content

Commit 5c54f1c

Browse files
committed
Add phantomjs image.
1 parent f12676c commit 5c54f1c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

phandomjs/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM drupaldocker/drush:latest
2+
MAINTAINER drupal-docker
3+
4+
RUN apt-get update && apt-get install -y libfontconfig1 bzip2 \
5+
&& rm -rf /var/lib/apt/lists/*
6+
7+
ADD https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 /root
8+
RUN cd /root && tar xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2 && mv phantomjs-2.1.1-linux-x86_64 phantomjs
9+
10+
CMD ["/root/phantomjs/bin/phantomjs", "--webdriver=8643"]
11+

0 commit comments

Comments
 (0)