Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,9 @@ This removes all local chain and monitoring data.

### Estimate remaining sync time

`progress.sh` uses Foundry's `cast` on the host machine.

The `bedrock-init` container installs Foundry for its own image build, but that
does not make `cast` available on your host shell. Install Foundry locally if
you want to use `progress.sh`.

Install Foundry from [https://getfoundry.sh/](https://getfoundry.sh/) and then
run:
`progress.sh` uses Foundry's `cast`, which must be installed on your host
machine. Install Foundry from [https://getfoundry.sh/](https://getfoundry.sh/)
and then run:

```sh
./progress.sh
Expand Down
14 changes: 4 additions & 10 deletions docker/dockerfiles/Dockerfile.bedrock-init
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive

# Install required packages.
RUN apt-get update && apt install -y curl wget git rsync build-essential openssl python3 python3-pip aria2 zstd lz4

# Install Go.
RUN curl -sSL https://golang.org/dl/go1.21.6.linux-amd64.tar.gz | tar -v -C /usr/local -xz
RUN cp /usr/local/go/bin/go /usr/bin/go

# Install Foundry.
RUN curl -L https://foundry.paradigm.xyz | bash
RUN /root/.foundry/bin/foundryup
RUN rsync -a /root/.foundry/bin/ /usr/bin/
# Only what the init scripts call: curl, openssl (JWT), aria2c (utils.sh
# download), unzstd/lz4 (utils.sh extractors) and coreutils/tar from the base
# image. git/wget/rsync/build-essential/python3 were unused.
RUN apt-get update && apt install -y --no-install-recommends curl ca-certificates openssl aria2 zstd lz4 && rm -rf /var/lib/apt/lists/*