Skip to content

Commit

Permalink
add docker section in readme and include --commit example in foundryu…
Browse files Browse the repository at this point in the history
…p readme (foundry-rs#1194)
  • Loading branch information
dmfxyz authored Apr 4, 2022
1 parent 94bfdb2 commit f66061f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ cargo build --release

Or via `cargo install --git https://github.com/gakonst/foundry --locked`

### Installing via Docker

Foundry maintains a [Docker image repository](https://github.com/gakonst/foundry/pkgs/container/foundry).

You can pull the latest release image like so:
```sh
docker pull ghcr.io/gakonst/foundry:latest
```
For examples and guides on using this image, see the [Docker section](https://onbjerg.github.io/foundry-book/tutorials/foundry-docker.html) in the book.

### Releases

You can manually download nightly releases
Expand Down
5 changes: 5 additions & 0 deletions foundryup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ To install from a **specific Pull Request**:
foundryup --pr 1071
```

To install from a **specific commit**:
```sh
foundryup -C 94bfdb2
```

To install a local directory or repository (e.g. one located at `~/git/foundry`, assuming you're in the home directory)
##### Note: --branch, --repo, and --version flags are ignored during local installations.

Expand Down

0 comments on commit f66061f

Please sign in to comment.