Skip to content

Commit 92bbfcf

Browse files
authored
clients/nethermind: migrate to .net 10 (#1371)
1 parent 67356c4 commit 92bbfcf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clients/nethermind/Dockerfile.git

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Build Nethermind From Git:
22

33
## Builder stage: Compiles nethermind from a git repository
4-
FROM mcr.microsoft.com/dotnet/sdk:9.0-noble AS build
4+
FROM mcr.microsoft.com/dotnet/sdk:10.0-noble AS build
55

66
ARG github=nethermindeth/nethermind
77
ARG tag=master
@@ -12,7 +12,7 @@ RUN echo "Cloning: $github - $tag" && \
1212
dotnet build -c release
1313

1414
## Final stage: Sets up the environment for running nethermind
15-
FROM mcr.microsoft.com/dotnet/aspnet:9.0-noble
15+
FROM mcr.microsoft.com/dotnet/aspnet:10.0-noble
1616

1717
# Copy compiled binary from builder
1818
COPY --from=build /nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner/release /nethermind

clients/nethermind/Dockerfile.local

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
### Requires a copy of nethermind/ -> hive/clients/nethermind/
33

44
## Builder stage: Compiles nethermind from a local directory
5-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
5+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
66

77
# Default local client path: clients/nethermind/<nethermind>
88
ARG local_path=nethermind
@@ -11,13 +11,13 @@ ADD $local_path /nethermind
1111
RUN cd /nethermind/src/Nethermind/Nethermind.Runner && dotnet build -c release
1212

1313
## Final stage: Sets up the environment for running nethermind
14-
FROM mcr.microsoft.com/dotnet/aspnet:9.0-noble
14+
FROM mcr.microsoft.com/dotnet/aspnet:10.0-noble
1515

1616
# Copy compiled binary from builder
1717
COPY --from=build /nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner/release /nethermind
1818
WORKDIR /nethermind
1919

20-
RUN apt-get update && apt-get install -y jq curl libsnappy-dev libc6-dev libc6 && \
20+
RUN apt-get update && apt-get install -y jq curl && \
2121
rm -rf /var/lib/apt/lists/*
2222

2323
# Create version.txt

0 commit comments

Comments
 (0)