some cleanup and validation tests

This commit is contained in:
jash
2018-10-06 16:38:52 +02:00
committed by kexkey
parent 61e4c6621e
commit 324df1804b
4 changed files with 125 additions and 77 deletions

View File

@@ -9,10 +9,8 @@
cyphernodeconf_configure() {
local current_path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
local data_path=$current_path/../data
local docker_image="cyphernodeconf:latest"
docker run -v $data_path:/data \
docker run -v $current_path/../data:/data \
--log-driver=none\
--rm -it $docker_image
--rm -it cyphernodeconf:latest
}

View File

@@ -24,3 +24,5 @@ build_docker_image ../ cyphernodeconf && clear && echo "Thinking..."
# configure features of cyphernode
cyphernodeconf_configure
#docker image rm cyphernodeconf:latest