go-ethereum/cicd/entry.sh
Liam 7997dc68c1
build universe docker image (#309)
* build universe docker image

* build universe docker image

* build universe docker image

---------

Co-authored-by: Liam Lai <liam.lai@datameshgroup.com.au>
2023-08-10 15:37:23 +10:00

13 lines
No EOL
250 B
Bash
Executable file

#!/bin/bash
if test -z "$NETWORK"
then
echo "NETWORK env Must be set, mainnet/testnet/devnet"
exit 1
fi
echo "Select to run $NETWORK..."
ln -s /usr/bin/XDC-$NETWORK /usr/bin/XDC
cp /work/$NETWORK/* /work
echo "Start Node..."
/work/start.sh