Skip to content

Commit

Permalink
Add instructions to pull and build machine image from GHCR
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli committed Aug 9, 2024
1 parent f6e8939 commit ebc66b9
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ make slides

## Building example bounties

Before testing, you need to compile bounties binaries.
Before building the machine image and testing, you need to compile the bounties binaries.

```sh
make bounties
Expand Down Expand Up @@ -68,10 +68,27 @@ Along with following exploits:

### Building the machine image

#### From source

```sh
cartesi build
```

### From a tagged GHCR image

Every release, the machine image is built and published to GitHub Container Registry.
You can retrieve any given version using the `docker pull` command.

```sh
docker pull --platform linux/riscv64 ghcr.io/crypto-bug-hunters/bug-buster-machine:$VERSION
```

Then, you can build the Cartesi Machine image like so.

```sh
cartesi build --from-image ghcr.io/crypto-bug-hunters/bug-buster-machine:$VERSION
```

### Running the Cartesi Node

```
Expand Down

0 comments on commit ebc66b9

Please sign in to comment.