Skip to content

Commit ca00ba9

Browse files
Pin to 8.0.410 SDK
Pin to the .NET 8.0.410 SDK to see if any updates for 8.0.411 broke things.
1 parent fec547d commit ca00ba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/net8.0/aspnetcore/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build
1+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0.410@sha256:b56053d0a8f4627047740941396e76cd9e7a9421c83b1d81b68f10e5019862d7 AS build
22
ARG TARGETARCH
33
ARG CONFIGURATION="Release"
44
ARG DOTNET_PUBLISH_ARGS=""
@@ -11,7 +11,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1111
RUN --mount=type=cache,id=nuget,target=/root/.nuget/packages \
1212
dotnet publish "examples/net8.0/aspnetcore/aspnetcore.csproj" --arch "${TARGETARCH}" --configuration "${CONFIGURATION}" --output /app ${DOTNET_PUBLISH_ARGS}
1313

14-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS final
14+
FROM mcr.microsoft.com/dotnet/sdk:8.0.410@sha256:b56053d0a8f4627047740941396e76cd9e7a9421c83b1d81b68f10e5019862d7 AS final
1515
WORKDIR /app
1616
EXPOSE 8080
1717

0 commit comments

Comments
 (0)