mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 21:47:18 +00:00
Warn in case docker daemon is not running in dep checks
This commit is contained in:
parent
b7cfbc9593
commit
af6f173963
@ -63,6 +63,13 @@ check_dependencies()
|
||||
logged echo "Please install the missing packages and retry!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$TFWDEV" == "0" ]; then
|
||||
if ! docker info > /dev/null 2>&1; then
|
||||
logged echo "The Docker daemon appears to be stopped. Please start it and try again!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
clone_repos()
|
||||
|
@ -1 +1 @@
|
||||
URL=https://git.io/vxBfj SHA=8594a813cdc4fd080e6b52c7cba2b41f99aa4f6bb09096d76397e7d07422b341 bash -c 'cmd="$(curl -fsSL $URL)" && [ $(echo "$cmd" | sha256sum | cut -d " " -f1) == $SHA ] && echo "$cmd" | bash || echo Checksum mismatch!'
|
||||
URL=https://git.io/vxBfj SHA=ec150859770843f4f8b4f5a16e08cc133c003b209272e715cfcfcd465b3b36e6 bash -c 'cmd="$(curl -fsSL $URL)" && [ $(echo "$cmd" | sha256sum | cut -d " " -f1) == $SHA ] && echo "$cmd" | bash || echo Checksum mismatch!'
|
||||
|
Loading…
Reference in New Issue
Block a user