node-query/test/docker_install.sh

13 lines
313 B
Bash
Raw Normal View History

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
# Replace test config with docker config file
rm "$DIR/config.json"
mv "$DIR/config-ci.json $DIR/config.json"