Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/nethermind/Dockerfile.git
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions clients/nethermind/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -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/<nethermind>
ARG local_path=nethermind
Expand All @@ -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
Expand Down