Skip to content

Commit

Permalink
updated sw requirements and docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloxster committed Dec 7, 2024
1 parent a2e80bc commit 5c94add
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/getting-started/sw-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For Linux users, use the following command in your terminal:

```bash
sudo apt-get update
wget https://go.dev/dl/go1.21.0.linux-amd64.tar.gz
wget https://go.dev/dl/go1.23.4.linux-amd64.tar.gz
sudo tar -xvf go1.21.0.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
Expand All @@ -47,11 +47,12 @@ This turns the C++ part of Erigon's code into a program your computer can run. Y
- For **Clang** follow the instructions at [https://clang.llvm.org/get_started.html](https://clang.llvm.org/get_started.html). Only in Linux, place your terminal to directory where you want to install Clang and copy-paste this code:

```bash
git clone --depth=1 https://github.com/llvm/llvm-project.git
sudo git clone --depth=1 https://github.com/llvm/llvm-project.git
cd llvm-project
mkdir build
cd build
cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../llvm
make
```

- For **GCC** (version 10 or newer): [https://gcc.gnu.org/install/index.html](https://gcc.gnu.org/install/index.html)
Expand Down
4 changes: 2 additions & 2 deletions src/installation/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Here are the steps to download and start Erigon 3 in Docker:

* Download the latest version:
```bash
docker pull erigontech/erigon:main-latest
docker pull erigontech/erigon:main-e638d76
```
* List the downloaded images to get the IMAGE ID:
```bash
Expand All @@ -36,7 +36,7 @@ docker run -it <image_id> --v
```
* If you want to start Erigon add the options according to the usage page or the advanced customization page. For example:
```bash
docker run -it a3867a12bd23 --chain=holesky --prune.mode=minimal
docker run -it 50bef1b5d0f9 --chain=holesky --prune.mode=minimal
```
* When done, exit the container or press `Ctrl+C`. The container will stop.

Expand Down
4 changes: 2 additions & 2 deletions src/installation/upgrading-md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ git checkout <new_version_tag>
Replace `<new_version_tag>` with the version tag of the new release, for example:

```bash
git checkout v3.0.0-alpha4
git checkout v3.0.0-alpha5
```

* **Rebuild Erigon**: Since the codebase has changed, you need to compile the new version. Run:
Expand All @@ -29,7 +29,7 @@ This process updates your installation to the latest version you specify, while
# Docker
If you're using Docker to run Erigon, the process to upgrade to a newer version of the software is straightforward and revolves around pulling the latest Docker image and then running it. Here's how you can upgrade Erigon using Docker:

* **Pull the Latest Docker Image**: First, find out the tag of the new release from the Erigon Docker Hub page. Once you know the tag, pull the new image:
* **Pull the Latest Docker Image**: First, find out the tag of the new release from the [Erigon Docker Hub](https://hub.docker.com/r/erigontech/erigon/tags) page. Once you know the tag, pull the new image:

```bash
docker pull erigontech/erigon:<new_version_tag>
Expand Down

0 comments on commit 5c94add

Please sign in to comment.