make changes permanent

This commit is contained in:
Sebastian
2023-09-26 11:32:08 +02:00
parent 9e5f1eb2d7
commit e09547feab
5 changed files with 65 additions and 39 deletions

17
gnosis/nimbus/entrypoint.sh Executable file
View File

@@ -0,0 +1,17 @@
FROM ghcr.io/gnosischain/gnosis-nimbus-eth2:latest
COPY entrypoint.sh /usr/bin/entrypoint.sh
ENTRYPOINT ["/usr/bin/entrypoint.sh"]root@rpc-fi-1 ~/rpc # cat gnosis/nimbus/entrypoint.sh
#!/bin/bash
# Run checkpoint sync script if provided
[[ -n $CHECKPOINT_SYNC_URL ]] &&
/home/user/nimbus_beacon_node trustedNodeSync \
--network=gnosis \
--trusted-node-url=${CHECKPOINT_SYNC_URL} \
--backfill=false \
--data-dir=/data
exec -c /home/user/nimbus_beacon_node $@