File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11# TARGETARCH and TARGETOS are set automatically when --platform is provided.
2- FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0-rc AS build-env
2+ FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0 AS build-env
33ARG TARGETOS
44LABEL stage=build-env
55WORKDIR /source
@@ -14,8 +14,8 @@ COPY Directory.Packages.props .
1414RUN dotnet publish src/OrchardCore.Cms.Web/OrchardCore.Cms.Web.csproj -c Release -o /app --framework net10.0 /p:RunAnalyzers=false
1515
1616# build runtime image
17- FROM mcr.microsoft.com/dotnet/aspnet:10.0-rc -nanoserver-1809 AS build_windows
18- FROM mcr.microsoft.com/dotnet/aspnet:10.0-rc AS build_linux
17+ FROM mcr.microsoft.com/dotnet/aspnet:10.0.100-preview.5 -nanoserver-1809 AS build_windows
18+ FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS build_linux
1919FROM build_${TARGETOS} AS aspnet
2020
2121EXPOSE 80
Original file line number Diff line number Diff line change 33FROM --platform=$BUILDPLATFORM golang:alpine AS build
44ARG TARGETOS
55
6- FROM mcr.microsoft.com/dotnet/aspnet:8.0 -nanoserver-1809 AS build_windows
7- FROM mcr.microsoft.com/dotnet/aspnet:8 .0 AS build_linux
6+ FROM mcr.microsoft.com/dotnet/aspnet:10.0.100-preview.5 -nanoserver-1809 AS build_windows
7+ FROM mcr.microsoft.com/dotnet/aspnet:10 .0 AS build_linux
88FROM build_${TARGETOS} AS aspnet
99
1010EXPOSE 80
You can’t perform that action at this time.
0 commit comments