From 64dfee4224aa647113d81eececf35f4b92c1175f Mon Sep 17 00:00:00 2001 From: Meysam Hadeli Date: Mon, 16 Feb 2026 21:06:37 +0330 Subject: [PATCH 1/2] chore: update Dockerfiles to .net 10 --- src/ApiGateway/Dockerfile | 4 ++-- src/ApiGateway/dev.Dockerfile | 4 ++-- .../OpenApi/SecuritySchemeDocumentTransformer.cs | 7 +++---- src/Services/Booking/Dockerfile | 4 ++-- src/Services/Booking/dev.Dockerfile | 4 ++-- src/Services/Flight/Dockerfile | 4 ++-- src/Services/Flight/dev.Dockerfile | 4 ++-- src/Services/Identity/Dockerfile | 4 ++-- src/Services/Identity/dev.Dockerfile | 4 ++-- src/Services/Passenger/Dockerfile | 4 ++-- src/Services/Passenger/dev.Dockerfile | 4 ++-- 11 files changed, 23 insertions(+), 24 deletions(-) diff --git a/src/ApiGateway/Dockerfile b/src/ApiGateway/Dockerfile index f3c5de3..de0ea97 100644 --- a/src/ApiGateway/Dockerfile +++ b/src/ApiGateway/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder WORKDIR / COPY ./.editorconfig ./ @@ -29,7 +29,7 @@ WORKDIR /src/ApiGateway/src # and no build, as we did it already RUN dotnet publish -c Release --no-build -o out -FROM mcr.microsoft.com/dotnet/aspnet:9.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 # Setup working directory for the project WORKDIR / diff --git a/src/ApiGateway/dev.Dockerfile b/src/ApiGateway/dev.Dockerfile index 5703b1e..c213fe7 100644 --- a/src/ApiGateway/dev.Dockerfile +++ b/src/ApiGateway/dev.Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder WORKDIR / COPY ./.editorconfig ./ @@ -32,7 +32,7 @@ WORKDIR /src/ApiGateway/src RUN --mount=type=cache,id=gateway_nuget,target=/root/.nuget/packages \ dotnet publish -c Release --no-build -o out -FROM mcr.microsoft.com/dotnet/aspnet:9.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 # Setup working directory for the project WORKDIR / diff --git a/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs b/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs index 38b4bb2..e7ff5d3 100644 --- a/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs +++ b/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs @@ -24,15 +24,14 @@ public class SecuritySchemeDocumentTransformer : IOpenApiDocumentTransformer BearerFormat = "JWT", In = ParameterLocation.Header, Description = - "Enter 'Bearer' [space] and your token in the text input below.\n\nExample: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'", + "Enter 'Bearer' [space] and your token in the text input below.\n\nExample: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'", }, ["ApiKey"] = new OpenApiSecurityScheme { Name = "X-API-KEY", Type = SecuritySchemeType.ApiKey, In = ParameterLocation.Header, - Description = - "Enter your API key in the text input below.\n\nExample: '12345-abcdef'", + Description = "Enter your API key in the text input below.\n\nExample: '12345-abcdef'", }, }; @@ -46,4 +45,4 @@ public class SecuritySchemeDocumentTransformer : IOpenApiDocumentTransformer return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/Services/Booking/Dockerfile b/src/Services/Booking/Dockerfile index 1410f68..393701f 100644 --- a/src/Services/Booking/Dockerfile +++ b/src/Services/Booking/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder WORKDIR / COPY ./.editorconfig ./ @@ -31,7 +31,7 @@ WORKDIR /src/Services/Booking/src/Booking.Api # and no build, as we did it already RUN dotnet publish -c Release --no-build -o out -FROM mcr.microsoft.com/dotnet/aspnet:9.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 # Setup working directory for the project WORKDIR / diff --git a/src/Services/Booking/dev.Dockerfile b/src/Services/Booking/dev.Dockerfile index 52082b2..d1d5c6e 100644 --- a/src/Services/Booking/dev.Dockerfile +++ b/src/Services/Booking/dev.Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder WORKDIR / COPY ./.editorconfig ./ @@ -34,7 +34,7 @@ WORKDIR /src/Services/Booking/src/Booking.Api RUN --mount=type=cache,id=booking_nuget,target=/root/.nuget/packages\ dotnet publish -c Release --no-build -o out -FROM mcr.microsoft.com/dotnet/aspnet:9.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 # Setup working directory for the project WORKDIR / diff --git a/src/Services/Flight/Dockerfile b/src/Services/Flight/Dockerfile index daa4868..9c5c6ac 100644 --- a/src/Services/Flight/Dockerfile +++ b/src/Services/Flight/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder WORKDIR / COPY ./.editorconfig ./ @@ -31,7 +31,7 @@ WORKDIR /src/Services/Flight/src/Flight.Api # and no build, as we did it already RUN dotnet publish -c Release --no-build -o out -FROM mcr.microsoft.com/dotnet/aspnet:9.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 # Setup working directory for the project WORKDIR / diff --git a/src/Services/Flight/dev.Dockerfile b/src/Services/Flight/dev.Dockerfile index ed162a3..15b748d 100644 --- a/src/Services/Flight/dev.Dockerfile +++ b/src/Services/Flight/dev.Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder WORKDIR / COPY ./.editorconfig ./ @@ -34,7 +34,7 @@ WORKDIR /src/Services/Flight/src/Flight.Api RUN --mount=type=cache,id=flight_nuget,target=/root/.nuget/packages \ dotnet publish -c Release --no-build -o out -FROM mcr.microsoft.com/dotnet/aspnet:9.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 # Setup working directory for the project WORKDIR / diff --git a/src/Services/Identity/Dockerfile b/src/Services/Identity/Dockerfile index e9776f3..5348a23 100644 --- a/src/Services/Identity/Dockerfile +++ b/src/Services/Identity/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder # Setup working directory for the project WORKDIR / @@ -31,7 +31,7 @@ WORKDIR /src/Services/Identity/src/Identity.Api # and no build, as we did it already RUN dotnet publish -c Release --no-build -o out -FROM mcr.microsoft.com/dotnet/aspnet:9.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 # Setup working directory for the project WORKDIR / diff --git a/src/Services/Identity/dev.Dockerfile b/src/Services/Identity/dev.Dockerfile index 29429c8..9130d3e 100644 --- a/src/Services/Identity/dev.Dockerfile +++ b/src/Services/Identity/dev.Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder # Setup working directory for the project WORKDIR / @@ -34,7 +34,7 @@ WORKDIR /src/Services/Identity/src/Identity.Api RUN --mount=type=cache,id=identity_nuget,target=/root/.nuget/packages \ dotnet publish -c Release --no-build -o out -FROM mcr.microsoft.com/dotnet/aspnet:9.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 # Setup working directory for the project WORKDIR / diff --git a/src/Services/Passenger/Dockerfile b/src/Services/Passenger/Dockerfile index aea939a..3bec1ec 100644 --- a/src/Services/Passenger/Dockerfile +++ b/src/Services/Passenger/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder WORKDIR / COPY ./.editorconfig ./ @@ -31,7 +31,7 @@ WORKDIR /src/Services/Passenger/src/Passenger.Api # and no build, as we did it already RUN dotnet publish -c Release --no-build -o out -FROM mcr.microsoft.com/dotnet/aspnet:9.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 # Setup working directory for the project WORKDIR / diff --git a/src/Services/Passenger/dev.Dockerfile b/src/Services/Passenger/dev.Dockerfile index 4741cd0..3aa965c 100644 --- a/src/Services/Passenger/dev.Dockerfile +++ b/src/Services/Passenger/dev.Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder WORKDIR / COPY ./.editorconfig ./ @@ -34,7 +34,7 @@ WORKDIR /src/Services/Passenger/src/Passenger.Api RUN --mount=type=cache,id=passenger_nuget,target=/root/.nuget/packages \ dotnet publish -c Release --no-build -o out -FROM mcr.microsoft.com/dotnet/aspnet:9.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 # Setup working directory for the project WORKDIR / From 7476502e501cc2d8eeb89f5d4c0e3ab7f2b7ea90 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli Date: Mon, 16 Feb 2026 21:09:00 +0330 Subject: [PATCH 2/2] fix: fix formatting --- src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs b/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs index e7ff5d3..bee64ce 100644 --- a/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs +++ b/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs @@ -45,4 +45,4 @@ public class SecuritySchemeDocumentTransformer : IOpenApiDocumentTransformer return Task.CompletedTask; } -} +} \ No newline at end of file