Skip to content

Commit 5598217

Browse files
authored
fix: update dotnet images to 10.0 for Nethermind 1.36.0 (#967)
Nethermind 1.36.0 requires .NET SDK 10.0.100 (via global.json), but the Dockerfile was still using 9.0 images, causing the build to fail with exit code 145.
1 parent 5d47f18 commit 5598217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nethermind/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN . /tmp/versions.env && git clone $OP_NODE_REPO --branch $OP_NODE_TAG --singl
1313
RUN . /tmp/versions.env && cd op-node && \
1414
just VERSION=$OP_NODE_TAG op-node
1515

16-
FROM mcr.microsoft.com/dotnet/sdk:9.0-noble AS build
16+
FROM mcr.microsoft.com/dotnet/sdk:10.0-noble AS build
1717

1818
ARG BUILD_CONFIG=release
1919
ARG TARGETARCH
@@ -31,7 +31,7 @@ RUN TARGETARCH=${TARGETARCH#linux/} && \
3131
echo "Using architecture: $arch" && \
3232
dotnet publish src/Nethermind/Nethermind.Runner -c $BUILD_CONFIG -a $arch -o /publish --sc false
3333

34-
FROM mcr.microsoft.com/dotnet/aspnet:9.0-noble
34+
FROM mcr.microsoft.com/dotnet/aspnet:10.0-noble
3535

3636
RUN apt-get update && \
3737
apt-get install -y jq curl supervisor && \

0 commit comments

Comments
 (0)