mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-01 20:15:25 +01:00
18 lines
549 B
Bash
Executable File
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
|
|
} |