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:
committed by
Paulus Schoutsen
parent
ea073b5e87
commit
e3a2e58623
@@ -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
|
||||
Reference in New Issue
Block a user