diff --git a/.env.sample b/.env.sample index 1c1d5c9..3df68f6 100644 --- a/.env.sample +++ b/.env.sample @@ -32,7 +32,14 @@ # Teku beacon node host exposed ports #TEKU_PORT_METRICS= +######### Nimbus Config ######### + +# Nimbus validator client version, e.g. `v23.3.2`. +# See available tags https://github.com/status-im/nimbus-eth2/releases +#NIMBUS_VERSION= + ######### Prysm Config ######### + #PRYSM_EXECUTION_ENDPOINT= #PRYSM_VERSION= #PRYSM_PORT_P2P_TCP= diff --git a/docker-compose.yml b/docker-compose.yml index 64d05fb..5715298 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -193,7 +193,10 @@ services: - ./teku:/opt/charon/teku vc2-nimbus: - build: nimbus + build: + context: ./nimbus + args: + NIMBUS_VERSION: ${NIMBUS_VERSION:-v23.3.2} networks: [ cluster ] depends_on: [ node2 ] restart: unless-stopped @@ -230,7 +233,10 @@ services: - ./teku:/opt/charon/teku vc5-nimbus: - build: nimbus + build: + context: ./nimbus + args: + NIMBUS_VERSION: ${NIMBUS_VERSION:-v23.3.2} networks: [ cluster ] depends_on: [ node5 ] restart: unless-stopped diff --git a/nimbus/Dockerfile b/nimbus/Dockerfile index 96bf2d9..b37eb8a 100755 --- a/nimbus/Dockerfile +++ b/nimbus/Dockerfile @@ -1,7 +1,9 @@ -FROM statusim/nimbus-eth2:multiarch-v23.3.1 as nimbusbn +ARG NIMBUS_VERSION=latest -FROM statusim/nimbus-validator-client:multiarch-v23.3.1 +FROM statusim/nimbus-eth2:multiarch-$NIMBUS_VERSION as nimbusbn + +FROM statusim/nimbus-validator-client:multiarch-$NIMBUS_VERSION COPY --from=nimbusbn /home/user/nimbus_beacon_node /home/user/nimbus_beacon_node -ENTRYPOINT ["/home/user/data/run.sh"] \ No newline at end of file +ENTRYPOINT ["/home/user/data/run.sh"]