diff --git a/validator/Dockerfile b/validator/Dockerfile index 84f3db6..8b6252b 100644 --- a/validator/Dockerfile +++ b/validator/Dockerfile @@ -13,6 +13,7 @@ COPY auth-token ${AUTH_TOKEN_PATH} ENV NETWORK=${NETWORK} \ AUTH_TOKEN_PATH=${AUTH_TOKEN_PATH} \ + NIMBUS_BIN="/home/user/nimbus_validator_client" \ STAKER_SCRIPTS_URL=https://github.com/dappnode/staker-package-scripts/releases/download/${STAKER_SCRIPTS_VERSION} ADD ${STAKER_SCRIPTS_URL}/consensus_tools.sh /etc/profile.d/ diff --git a/validator/entrypoint.sh b/validator/entrypoint.sh index 057a440..8b8036f 100644 --- a/validator/entrypoint.sh +++ b/validator/entrypoint.sh @@ -12,7 +12,7 @@ run_validator() { echo "[INFO - entrypoint] Running validator service" # shellcheck disable=SC2086 - exec nimbus_validator_client \ + exec ${NIMBUS_BIN} \ --log-level="${LOG_TYPE}" \ --doppelganger-detection="${ENABLE_DOPPELGANGER}" \ --non-interactive=true \ @@ -27,7 +27,7 @@ run_validator() { --metrics-address=0.0.0.0 \ --metrics-port=8008 \ --graffiti="${GRAFFITI}" \ - --beacon-node="${BEACON_NODE_API_URL}" ${EXTRA_OPTS} + --beacon-node="${BEACON_API_URL}" ${EXTRA_OPTS} } format_graffiti