Added PhantomJS to Docker image

main
Elbert Alias 10 years ago
parent 3f87a02758
commit 8deb7e7abd

@ -44,7 +44,7 @@ ln -f $path/apps.json $path/drivers/php
ln -f $path/wappalyzer.js $path/drivers/python/js ln -f $path/wappalyzer.js $path/drivers/python/js
ln -f $path/apps.json $path/drivers/python ln -f $path/apps.json $path/drivers/python
ln -f $path/wappalyzer.js $path/drivers/phantomjs/js ln -f $path/wappalyzer.js $path/drivers/phantomjs
ln -f $path/apps.json $path/drivers/phantomjs ln -f $path/apps.json $path/drivers/phantomjs
ln -f $path/wappalyzer.js $path/drivers/ruby/js ln -f $path/wappalyzer.js $path/drivers/ruby/js

@ -36,6 +36,13 @@ RUN su wappalyzer -c "\
ln -s /home/wappalyzer/mozilla/addon-sdk-*/bin/cfx bin/cfx" ln -s /home/wappalyzer/mozilla/addon-sdk-*/bin/cfx bin/cfx"
# PhantomJS
RUN su wappalyzer -c "\
mkdir phantomjs && \
curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 | tar xvjC phantomjs && \
ln -s /home/wappalyzer/phantomjs/phantomjs-*-linux-x86_64/bin/phantomjs bin/phantomjs"
# SSH # SSH
RUN rm -f /etc/service/sshd/down RUN rm -f /etc/service/sshd/down
RUN su wappalyzer -c "mkdir .ssh && chmod 700 .ssh" RUN su wappalyzer -c "mkdir .ssh && chmod 700 .ssh"

@ -1,4 +1,2 @@
wappalyzer.js wappalyzer.js
apps.json apps.json
lib/*
!lib/PLACE_PHANTOMJS_BINARY_HERE

Loading…
Cancel
Save