Skip to content

Commit 44ef6e9

Browse files
committed
fix: pin .NET SDK and runtime digests in nethermind Dockerfile
The nethermind Dockerfile used floating tags (dotnet/sdk:10.0-noble and dotnet/aspnet:10.0-noble) which broke when Microsoft pushed a new SDK image. Pin both to the exact digests that Nethermind 1.36.2 uses upstream, matching their own Dockerfile at that tag. - SDK: 10.0.101-noble@sha256:d1823fe... - Runtime: aspnet:10.0.1-noble@sha256:eaa7920...
1 parent 3bac950 commit 44ef6e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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:10.0-noble AS build
16+
FROM mcr.microsoft.com/dotnet/sdk:10.0.101-noble@sha256:d1823fecac3689a2eb959e02ee3bfe1c2142392808240039097ad70644566190 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:10.0-noble
34+
FROM mcr.microsoft.com/dotnet/aspnet:10.0.1-noble@sha256:eaa79205c3ade4792a7f7bf310a3aac51fe0e1d91c44e40f70b7c6423d475fe0
3535

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

0 commit comments

Comments
 (0)