From 9d2a10f1b7d577da8f56bc16a0488da094dc5e65 Mon Sep 17 00:00:00 2001 From: Mitch Date: Tue, 26 Nov 2024 09:16:10 -0500 Subject: [PATCH] look at host --- spartan/releases/rough-rhino/full-node.sh | 6 +++++- spartan/releases/rough-rhino/validator.sh | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/spartan/releases/rough-rhino/full-node.sh b/spartan/releases/rough-rhino/full-node.sh index 07f9c544b57..cf13a1d3a45 100755 --- a/spartan/releases/rough-rhino/full-node.sh +++ b/spartan/releases/rough-rhino/full-node.sh @@ -2,6 +2,10 @@ set -eu +# get host arch +ARCH=$(uname -m) +IMAGE="aztecprotocol/aztec:698cd3d62680629a3f1bfc0f82604534cedbccf3-${ARCH}" + docker run --rm --network=host \ -e P2P_UDP_ANNOUNCE_ADDR=$PUBLIC_IP:$P2P_PORT \ -e P2P_TCP_ANNOUNCE_ADDR=$PUBLIC_IP:$P2P_PORT \ @@ -32,4 +36,4 @@ docker run --rm --network=host \ -e OUTBOX_CONTRACT_ADDRESS=0x1016b5aaa3270a65c315c664ecb238b6db270b64 \ -e P2P_UDP_LISTEN_ADDR=0.0.0.0:$P2P_PORT \ -e P2P_TCP_LISTEN_ADDR=0.0.0.0:$P2P_PORT \ - aztecprotocol/aztec:rough-rhino start --node --archiver --sequencer + $IMAGE start --node --archiver --sequencer diff --git a/spartan/releases/rough-rhino/validator.sh b/spartan/releases/rough-rhino/validator.sh index 43e824dffd2..98e81124227 100755 --- a/spartan/releases/rough-rhino/validator.sh +++ b/spartan/releases/rough-rhino/validator.sh @@ -2,6 +2,10 @@ set -eu +# get host arch +ARCH=$(uname -m) +IMAGE="aztecprotocol/aztec:698cd3d62680629a3f1bfc0f82604534cedbccf3-${ARCH}" + docker run --rm --network=host \ -e P2P_UDP_ANNOUNCE_ADDR=$PUBLIC_IP:$P2P_PORT \ -e P2P_TCP_ANNOUNCE_ADDR=$PUBLIC_IP:$P2P_PORT \ @@ -35,4 +39,4 @@ docker run --rm --network=host \ -e OUTBOX_CONTRACT_ADDRESS=0x1016b5aaa3270a65c315c664ecb238b6db270b64 \ -e P2P_UDP_LISTEN_ADDR=0.0.0.0:$P2P_PORT \ -e P2P_TCP_LISTEN_ADDR=0.0.0.0:$P2P_PORT \ - aztecprotocol/aztec:rough-rhino start --node --archiver --sequencer \ No newline at end of file + $IMAGE start --node --archiver --sequencer