ObolNetwork / charon-distributed-validator-node

Run one node as part of Distributed Validator Cluster using docker-compose
https://docs.obol.tech/
77 stars 224 forks source link

Use POSIX-compliant syntax in Lodestar entrypoint script #277

Closed nflaig closed 1 month ago

nflaig commented 1 month ago

We switched from alpine to debian in our latest release (v1.21.0). The current entrypoint script uses syntax which is not POSIX-compliant and the script will fail to execute.

Importing key /home/charon/validator_keys/keystore-0.json
/opt/lodestar/run.sh: 6: [[: not found
/opt/lodestar/run.sh: 15: Bad substitution

This change does not require to bump the Lodestar version the script will still work with older releases.