Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/container-matrix/Middleware-alpine.dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM mcr.microsoft.com/dotnet/nightly/sdk:latest AS build
WORKDIR /app
COPY . .
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net9.0 -p:BenchmarksTargetFramework=net9.0 -p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net10.0 -p:BenchmarksTargetFramework=net10.0 -p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION

FROM mcr.microsoft.com/dotnet/nightly/aspnet:9.0-preview-alpine AS runtime
FROM mcr.microsoft.com/dotnet/nightly/aspnet:10.0-preview-alpine AS runtime
WORKDIR /app
COPY --from=build /app/out ./

Expand Down
4 changes: 2 additions & 2 deletions docker/container-matrix/Middleware-composite.dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM mcr.microsoft.com/dotnet/nightly/sdk:latest AS build
WORKDIR /app
COPY . .
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net9.0 -p:BenchmarksTargetFramework=net9.0 -p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net10.0 -p:BenchmarksTargetFramework=net10.0 -p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION

FROM mcr.microsoft.com/dotnet/nightly/aspnet:9.0-preview-alpine-composite AS runtime
FROM mcr.microsoft.com/dotnet/nightly/aspnet:10.0-preview-alpine-composite AS runtime
WORKDIR /app
COPY --from=build /app/out ./

Expand Down
6 changes: 3 additions & 3 deletions docker/container-matrix/Middleware-current.dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
WORKDIR /app
COPY . .
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net8.0 /p:BenchmarksTargetFramework=net8.0 /p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net9.0 /p:BenchmarksTargetFramework=net9.0 /p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION

FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime
# ENV ASPNETCORE_URLS http://*:5000
WORKDIR /app
COPY --from=build /app/out ./
Expand Down
2 changes: 1 addition & 1 deletion docker/container-matrix/Middleware.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/nightly/sdk:latest AS build
WORKDIR /app
COPY . .
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net9.0 /p:BenchmarksTargetFramework=net9.0 /p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net10.0 /p:BenchmarksTargetFramework=net10.0 /p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION

FROM mcr.microsoft.com/dotnet/nightly/aspnet:latest AS runtime
# ENV ASPNETCORE_URLS http://*:5000
Expand Down
Loading