stack-orchestrator/app/data/container-build/cerc-datanet-eth-geth/build.sh
Thomas E Lackey ce43e3061c Add a pod for generating geth data as quickly as possible.
Former-commit-id: e8bdb205c7faa89c583b0652fac1801d0177a3c1
2023-01-28 00:49:46 -06:00

16 lines
380 B
Bash
Executable File

#!/usr/bin/env bash
#
#Build cerc/datanet-eth-geth
set +e
set+x
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
cp -f $SCRIPT_DIR/el-config.yaml $SCRIPT_DIR/build/genesis/el/el-config.yaml
docker build -t cerc/datanet-eth-geth:local ${SCRIPT_DIR}/build