chainsaw massacre

This commit is contained in:
Para Dox
2025-04-11 13:21:07 +07:00
parent 00997f8bc0
commit e4296a117c
410 changed files with 1285 additions and 1356241 deletions

View File

@@ -1,5 +0,0 @@
FROM ethereum/client-go:v1.13.15
COPY ./scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod u+x /usr/local/bin/entrypoint.sh
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]

View File

@@ -1,15 +0,0 @@
#!/bin/sh
# exit script on any error
set -e
GETH_HOME=/root/.ethereum
if [ ! -f "${GETH_HOME}/bootstrapped.new" ];
then
echo "write the custom genesis block"
mkdir -p ${GETH_HOME:-/root/.ethereum}
geth --datadir ${GETH_HOME:-/root/.ethereum} init /configs/mainnet/shared/genesis.new.json
fi
exec geth $@