2016-07-20 14:59:25 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# We need to install dependencies only for Docker
|
|
|
|
[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
|
|
|
|
|
|
|
|
# Where am I?
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
2016-07-20 16:46:02 -04:00
|
|
|
# Install sqlite3
|
|
|
|
apt-get update -yqq
|
|
|
|
apt-get install sqlite3 libsqlite3-dev -yqq
|
|
|
|
|
2016-07-20 14:59:25 -04:00
|
|
|
# Replace test config with docker config file
|
2016-07-20 16:32:32 -04:00
|
|
|
mv "$DIR/config-ci.json" "$DIR/config.json"
|