Add a dev ethereum Docker setup

Also adds untested Dockerfiles for reth, lighthouse, and nimbus.
This commit is contained in:
Luke Parker
2024-04-24 09:25:11 -04:00
parent d57fef8999
commit cef63a631a
21 changed files with 217 additions and 19 deletions

View File

@@ -0,0 +1,14 @@
use crate::Network;
pub fn anvil(network: Network) -> (String, String, String) {
assert_eq!(network, Network::Dev);
const ANVIL_SETUP: &str = r#"
RUN curl -L https://foundry.paradigm.xyz | bash || exit 0
RUN ~/.foundry/bin/foundryup
EXPOSE 8545
"#;
(String::new(), "RUN apt install git curl -y".to_string(), ANVIL_SETUP.to_string())
}