Skip to content

Commit 64c9da9

Browse files
committed
Add PhantomJS
1 parent 461f758 commit 64c9da9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.verchew.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ version = 2020
4040
cli = lein
4141
version = Leiningen 2.9
4242

43+
[PhantomJS]
44+
45+
cli = phantomjs
46+
version = 2
47+
4348
[Firefox]
4449

4550
cli = firefox

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,12 @@ geckodriver --version
3939

4040
RUN sudo apt install graphviz graphviz-dev && \
4141
dot -V
42+
43+
# PhantomJS
44+
45+
ENV OPENSSL_CONF=/etc/ssl/
46+
47+
RUN sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
48+
sudo tar xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2 -C /usr/local/share/ && \
49+
sudo ln -sf /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin && \
50+
phantomjs --version

0 commit comments

Comments
 (0)