nimbus-eth1/docker/build_beacon_node.sh

23 lines
401 B
Bash
Raw Normal View History

#!/bin/bash
set -euv
buildAndPush() {
NETWORK=$1
BACKEND=$2
CONTAINER_NAME=statusteam/beacon_node_${NETWORK}_${BACKEND}
docker build -t $CONTAINER_NAME beacon_node \
--build-arg network=$NETWORK \
--build-arg network_backend=$BACKEND
docker push $CONTAINER_NAME
}
buildAndPush testnet0 rlpx
buildAndPush testnet1 rlpx
buildAndPush testnet0 libp2p
buildAndPush testnet1 libp2p