remove-phantomjs-from-docker (#15936)

This commit is contained in:
Daniel Bowman authored and Paulus Schoutsen committed 2018-08-14 11:53:08 +02:00
1 parent ea073b5e87
commit e3a2e58623
4 files changed
-22

No files matched your search

-15
View File
@@ -1,15 +0,0 @@
#!/bin/bash
# Sets up phantomjs.
# Stop on errors
set -e
PHANTOMJS_VERSION="2.1.1"
cd /usr/src/app/
mkdir -p build && cd build
curl -LSO https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
tar -xjf phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
mv phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
/usr/bin/phantomjs -v