Skip to content

Commit 0b0e0f7

Browse files
committed
Update aspnet docker images in Dockerfile
1 parent a56c474 commit 0b0e0f7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
33
ARG TARGETOS
44
LABEL stage=build-env
55
WORKDIR /source
@@ -14,8 +14,8 @@ COPY Directory.Packages.props .
1414
RUN 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
1919
FROM build_${TARGETOS} AS aspnet
2020

2121
EXPOSE 80

Dockerfile-CI

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
FROM --platform=$BUILDPLATFORM golang:alpine AS build
44
ARG 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
88
FROM build_${TARGETOS} AS aspnet
99

1010
EXPOSE 80

0 commit comments

Comments
 (0)