Files
cyphernode/install/script/cyphernodeconf.sh

18 lines
549 B
Bash
Executable File

#!/bin/sh
. ./trace.sh
# this will run configure.sh of the specified package inside a
# cyphernodeconf container. This way we ensure we have the right
# environment and do not pollute the host machine with utility
# commands not needed for runtime
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 \
--log-driver=none\
--rm -it $docker_image
}