diff --git a/Dockerfile b/Dockerfile index 5837eb9..8a9092d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM golang:1.22.5-bookworm AS base-build RUN go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@v1.5.0 RUN go install github.com/hashicorp/go-getter/cmd/go-getter@v1.7.6 +RUN go install github.com/zeta-chain/dl-pipe/cmd/dl-pipe@latest FROM debian:bookworm AS base diff --git a/init.sh b/init.sh index 5437bb6..4527b33 100755 --- a/init.sh +++ b/init.sh @@ -89,7 +89,7 @@ install_genesis_zetacored() { restore_snapshot() { snapshot_link=$($CURL "${ZETACHAIN_SNAPSHOT_METADATA_URL}" | jq -r '.snapshots[0].link') echo "Restoring snapshot from ${snapshot_link}" - $CURL "$snapshot_link" | tar x -C $HOME/.zetacored + dl-pipe "$snapshot_link" | tar x -C $HOME/.zetacored } cd $HOME