Installing PhantomJS on Alpine (3.3)
#1
Tue, 2017-02-07 17:12
macsig
-
- Offline
- 1 year 1 month ago
- 2017-02-07
Hi there.
How can I install PhantomJS (2.1.1) on Alpine (3.3)?
I have done the following
wget <a href="https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 " rel="nofollow">https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 </a> tar xjf phantomjs-2.1.1-linux-x86_64.tar.bz2 -C /usr/local ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin
Having /usr/bin on my path
echo $PATH /usr/local/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
However, I get
bash-4.3# phantomjs bash: phantomjs: command not found
I have also added /usr/local/share/phantomjs-2.1.1-linux-x86_64 to the PATH but with the same result.
Thanks
If anyone needs it: https://github.com/Overbryd/docker-phantomjs-alpine/releases
Hello macsig
Did you succeed with phantomjs on alpine 3.6 ? For me the webdriver start not completelty, i can't communicate with it ( http://localhost:8910 )