diff --git a/clients/nethermind/Dockerfile.git b/clients/nethermind/Dockerfile.git index cc9974e19d..ef02452191 100644 --- a/clients/nethermind/Dockerfile.git +++ b/clients/nethermind/Dockerfile.git @@ -1,7 +1,7 @@ ### Build Nethermind From Git: ## Builder stage: Compiles nethermind from a git repository -FROM mcr.microsoft.com/dotnet/sdk:9.0-noble AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0-noble AS build ARG github=nethermindeth/nethermind ARG tag=master @@ -12,7 +12,7 @@ RUN echo "Cloning: $github - $tag" && \ dotnet build -c release ## Final stage: Sets up the environment for running nethermind -FROM mcr.microsoft.com/dotnet/aspnet:9.0-noble +FROM mcr.microsoft.com/dotnet/aspnet:10.0-noble # Copy compiled binary from builder COPY --from=build /nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner/release /nethermind diff --git a/clients/nethermind/Dockerfile.local b/clients/nethermind/Dockerfile.local index e0bf89953d..d53f73517d 100644 --- a/clients/nethermind/Dockerfile.local +++ b/clients/nethermind/Dockerfile.local @@ -2,7 +2,7 @@ ### Requires a copy of nethermind/ -> hive/clients/nethermind/ ## Builder stage: Compiles nethermind from a local directory -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build # Default local client path: clients/nethermind/ ARG local_path=nethermind @@ -11,13 +11,13 @@ ADD $local_path /nethermind RUN cd /nethermind/src/Nethermind/Nethermind.Runner && dotnet build -c release ## Final stage: Sets up the environment for running nethermind -FROM mcr.microsoft.com/dotnet/aspnet:9.0-noble +FROM mcr.microsoft.com/dotnet/aspnet:10.0-noble # Copy compiled binary from builder COPY --from=build /nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner/release /nethermind WORKDIR /nethermind -RUN apt-get update && apt-get install -y jq curl libsnappy-dev libc6-dev libc6 && \ +RUN apt-get update && apt-get install -y jq curl && \ rm -rf /var/lib/apt/lists/* # Create version.txt