Skip to content

Commit

Permalink
chore(docker): update entrypoint.sh to include L1 and L2 network options
Browse files Browse the repository at this point in the history
  • Loading branch information
johntaiko committed May 22, 2024
1 parent b1dbe89 commit d443ac7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ function bootstrap() {
}

function bootstrap_with_self_register() {
L1_NETWORK="${L1_NETWORK:-holesky}"
L2_NETWORK="${L2_NETWORK:-taiko_a7}"
mkdir -p "$RAIKO_DOCKER_VOLUME_SECRETS_PATH"
cd "$RAIKO_APP_DIR"
echo "./$RAIKO_GUEST_SETUP_FILENAME bootstrap"
./$RAIKO_GUEST_SETUP_FILENAME bootstrap
echo "./$RAIKO_GUEST_SETUP_FILENAME bootstrap --l1-network $L1_NETWORK --network $L2_NETWORK"
./$RAIKO_GUEST_SETUP_FILENAME bootstrap --l1-network $L1_NETWORK --network $L2_NETWORK
cd -
}

Expand Down

0 comments on commit d443ac7

Please sign in to comment.