forked from cerc-io/stack-orchestrator
17 lines
441 B
Bash
Executable File
17 lines
441 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
#Build cerc/datanet-eth-geth
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
rm -rf $SCRIPT_DIR/build
|
|
cp -rp $SCRIPT_DIR/../cerc-fixturenet-eth-geth $SCRIPT_DIR/build
|
|
|
|
sed -i '' 's/^terminal_total_difficulty.*$/capped_maximum_difficulty: 1/' $SCRIPT_DIR/build/genesis/el/el-config.yaml
|
|
|
|
docker build -t cerc/datanet-eth-geth:local ${SCRIPT_DIR}/build
|
|
|
|
rm -rf $SCRIPT_DIR/build
|