-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added nethermind evm to docker file #229
base: develop
Are you sure you want to change the base?
Conversation
@@ -21,16 +21,14 @@ void requireStateTestsFillerEnvScheme(spDataObject const& _data) | |||
{"currentRandom", {{DataType::String}, jsonField::Optional}}, | |||
{c_parentExcessBlobGas, {{DataType::String}, jsonField::Optional}}, | |||
{c_parentBlobGasUsed, {{DataType::String}, jsonField::Optional}}, | |||
{c_currentBeaconRoot, {{DataType::String}, jsonField::Optional}}, | |||
{"previousHash", {{DataType::String}, jsonField::Required}}}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems to be a rebase issue. can you rebase on top of develop branch?
@@ -30,6 +32,10 @@ RUN apt-get update \ | |||
&& add-apt-repository -y ppa:deadsnakes/ppa \ | |||
&& add-apt-repository ppa:linuxuprising/java \ | |||
&& apt-get install --yes jq lsof git cmake make perl psmisc curl wget gcc-11 g++-11 python3.10 python3.10-venv python3-pip python3-dev \ | |||
&& wget https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is better to move this under condition as well. as if docker is being built for geth only no need to install nethermind pre requirements
@@ -112,6 +112,9 @@ if [ "$SCRIPT_NAME" = "dtf.sh" ]; then | |||
if [ "$var" = "nimbus" ]; then | |||
binpath="/bin/evm_nimbus" | |||
fi | |||
if [ "$var" = "nethermind" ]; then | |||
binpath="/nethermind/tools/Evm/Evm/bin/Debug/net8.0/Evm" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to save space I copy built binaries into bin folder inside docker and remove all src and build files that are no longer required for it to run. making docker image smaller.
@yerke26 |
f7dfbd3
to
406bf87
Compare
build Nethermind Evm added to DockerFile
binary script is located here:
/usr/bin/nethermindevm
you can run it by:
/usr/bin/nethermindevm t8n