Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: alpine based docker image (foundry-rs#981)
* feat: alpine based docker image This commit creates a docker image that includes both `cast` and `forge`. It builds off of foundry-rs#914. The image comes out to 26.4MB. ```bash / # du -h /usr/local/bin/forge 12.8M /usr/local/bin/forge / # du -h /usr/local/bin/cast 7.1M /usr/local/bin/cast ``` Example usage: ```bash $ docker run --rm --entrypoint cast foundry:latest block --rpc-url https://mainnet.optimism.io latest $ docker run --rm foundry:latest 'cast block --rpc-url https://mainnet.optimism.io latest' ``` Co-authored-by: Abdul Rabbani * re-do dockerfile to build from scratch alpine image and add glibc for solc Co-authored-by: dmfxyz <[email protected]>
- Loading branch information