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
9 changes: 5 additions & 4 deletions build/containers-scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,12 @@ parameters:
arguments: --scenario fortunes_aspnet_composite --property scenario=FortunesAspNetComposite $(containerDatabaseBuildReuse)
condition: Math.round(Date.now() / 43200000) % 8 == 4 # once every 8 half-days

- displayName: Json ASP.NET 8.0
arguments: --scenario json_aspnet_current --property scenario=JsonAspNet80
- displayName: Json ASP.NET 10.0
arguments: --scenario json_aspnet_current --property scenario=JsonAspNet100
condition: Math.round(Date.now() / 43200000) % 8 == 6 # once every 8 half-days
- displayName: Fortunes ASP.NET 8.0
arguments: --scenario fortunes_aspnet_current --property scenario=FortunesAspNet80 $(containerDatabaseBuildReuse)

- displayName: Fortunes ASP.NET 10.0
arguments: --scenario fortunes_aspnet_current --property scenario=FortunesAspNet100 $(containerDatabaseBuildReuse)
condition: Math.round(Date.now() / 43200000) % 8 == 6 # once every 8 half-days

- displayName: Json NodeJS
Expand Down
7 changes: 3 additions & 4 deletions docker/container-matrix/Middleware-alpine.dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM mcr.microsoft.com/dotnet/nightly/sdk:latest AS build

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to keep running alpine?

FROM mcr.microsoft.com/dotnet/nightly/sdk:11.0 AS build
WORKDIR /app
COPY . .
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net10.0 -p:BenchmarksTargetFramework=net10.0 -p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net11.0 -p:BenchmarksTargetFramework=net11.0 -p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION

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

ENTRYPOINT ["dotnet", "Benchmarks.dll" ]

6 changes: 3 additions & 3 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
FROM mcr.microsoft.com/dotnet/nightly/sdk:11.0 AS build
WORKDIR /app
COPY . .
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net10.0 -p:BenchmarksTargetFramework=net10.0 -p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net11.0 -p:BenchmarksTargetFramework=net11.0 -p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION

FROM mcr.microsoft.com/dotnet/nightly/aspnet:10.0-preview-alpine-composite AS runtime
FROM mcr.microsoft.com/dotnet/nightly/aspnet:11.0-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:9.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:10.0 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/aspnet:9.0 AS runtime
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime
# ENV ASPNETCORE_URLS http://*:5000
WORKDIR /app
COPY --from=build /app/out ./
Expand Down
6 changes: 3 additions & 3 deletions docker/container-matrix/Middleware.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
FROM mcr.microsoft.com/dotnet/nightly/sdk:11.0 AS build
WORKDIR /app
COPY . .
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net10.0 /p:BenchmarksTargetFramework=net10.0 /p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION
RUN dotnet publish src/Benchmarks/Benchmarks.csproj -c Release -o out -f net11.0 /p:BenchmarksTargetFramework=net11.0 /p:MicrosoftAspNetCoreAppPackageVersion=$ASPNET_VERSION

FROM mcr.microsoft.com/dotnet/nightly/aspnet:latest AS runtime
FROM mcr.microsoft.com/dotnet/nightly/aspnet:11.0 AS runtime
# ENV ASPNETCORE_URLS http://*:5000
WORKDIR /app
COPY --from=build /app/out ./
Expand Down
Loading