Move docker installation scripts to virtualization/Docker path. Splits out openalpr to seperate script. (#5676)

This commit is contained in:
Michaël Arnauts
2017-02-01 04:02:06 +01:00
committed by Paulus Schoutsen
parent 89ec752064
commit 8247acb7b9
10 changed files with 155 additions and 132 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/bash
# Sets up phantomjs.
# Stop on errors
set -e
PHANTOMJS_VERSION="2.1.1"
cd "$(dirname "$0")/.."
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