1
0
mirror of https://github.com/home-assistant/core.git synced 2026-03-01 22:30:12 +00:00

remove-phantomjs-from-docker (#15936)

This commit is contained in:
Daniel Bowman
2018-08-14 10:53:08 +01:00
committed by Paulus Schoutsen
parent ea073b5e87
commit e3a2e58623
4 changed files with 0 additions and 22 deletions

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