Skip to content

Commit e259b64

Browse files
authored
Merge pull request #367 from meysamhadeli/chore-update-dockerfiles-to-dotnet-10
Chore update dockerfiles to dotnet 10
2 parents bd94742 + 7476502 commit e259b64

File tree

11 files changed

+22
-23
lines changed

11 files changed

+22
-23
lines changed

src/ApiGateway/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder
22
WORKDIR /
33

44
COPY ./.editorconfig ./
@@ -29,7 +29,7 @@ WORKDIR /src/ApiGateway/src
2929
# and no build, as we did it already
3030
RUN dotnet publish -c Release --no-build -o out
3131

32-
FROM mcr.microsoft.com/dotnet/aspnet:9.0
32+
FROM mcr.microsoft.com/dotnet/aspnet:10.0
3333

3434
# Setup working directory for the project
3535
WORKDIR /

src/ApiGateway/dev.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder
22
WORKDIR /
33

44
COPY ./.editorconfig ./
@@ -32,7 +32,7 @@ WORKDIR /src/ApiGateway/src
3232
RUN --mount=type=cache,id=gateway_nuget,target=/root/.nuget/packages \
3333
dotnet publish -c Release --no-build -o out
3434

35-
FROM mcr.microsoft.com/dotnet/aspnet:9.0
35+
FROM mcr.microsoft.com/dotnet/aspnet:10.0
3636

3737
# Setup working directory for the project
3838
WORKDIR /

src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@ CancellationToken cancellationToken
2424
BearerFormat = "JWT",
2525
In = ParameterLocation.Header,
2626
Description =
27-
"Enter 'Bearer' [space] and your token in the text input below.\n\nExample: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'",
27+
"Enter 'Bearer' [space] and your token in the text input below.\n\nExample: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'",
2828
},
2929
["ApiKey"] = new OpenApiSecurityScheme
3030
{
3131
Name = "X-API-KEY",
3232
Type = SecuritySchemeType.ApiKey,
3333
In = ParameterLocation.Header,
34-
Description =
35-
"Enter your API key in the text input below.\n\nExample: '12345-abcdef'",
34+
Description = "Enter your API key in the text input below.\n\nExample: '12345-abcdef'",
3635
},
3736
};
3837

src/Services/Booking/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder
22
WORKDIR /
33

44
COPY ./.editorconfig ./
@@ -31,7 +31,7 @@ WORKDIR /src/Services/Booking/src/Booking.Api
3131
# and no build, as we did it already
3232
RUN dotnet publish -c Release --no-build -o out
3333

34-
FROM mcr.microsoft.com/dotnet/aspnet:9.0
34+
FROM mcr.microsoft.com/dotnet/aspnet:10.0
3535

3636
# Setup working directory for the project
3737
WORKDIR /

src/Services/Booking/dev.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder
22
WORKDIR /
33

44
COPY ./.editorconfig ./
@@ -34,7 +34,7 @@ WORKDIR /src/Services/Booking/src/Booking.Api
3434
RUN --mount=type=cache,id=booking_nuget,target=/root/.nuget/packages\
3535
dotnet publish -c Release --no-build -o out
3636

37-
FROM mcr.microsoft.com/dotnet/aspnet:9.0
37+
FROM mcr.microsoft.com/dotnet/aspnet:10.0
3838

3939
# Setup working directory for the project
4040
WORKDIR /

src/Services/Flight/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder
22
WORKDIR /
33

44
COPY ./.editorconfig ./
@@ -31,7 +31,7 @@ WORKDIR /src/Services/Flight/src/Flight.Api
3131
# and no build, as we did it already
3232
RUN dotnet publish -c Release --no-build -o out
3333

34-
FROM mcr.microsoft.com/dotnet/aspnet:9.0
34+
FROM mcr.microsoft.com/dotnet/aspnet:10.0
3535

3636
# Setup working directory for the project
3737
WORKDIR /

src/Services/Flight/dev.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder
22
WORKDIR /
33

44
COPY ./.editorconfig ./
@@ -34,7 +34,7 @@ WORKDIR /src/Services/Flight/src/Flight.Api
3434
RUN --mount=type=cache,id=flight_nuget,target=/root/.nuget/packages \
3535
dotnet publish -c Release --no-build -o out
3636

37-
FROM mcr.microsoft.com/dotnet/aspnet:9.0
37+
FROM mcr.microsoft.com/dotnet/aspnet:10.0
3838

3939
# Setup working directory for the project
4040
WORKDIR /

src/Services/Identity/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder
22

33
# Setup working directory for the project
44
WORKDIR /
@@ -31,7 +31,7 @@ WORKDIR /src/Services/Identity/src/Identity.Api
3131
# and no build, as we did it already
3232
RUN dotnet publish -c Release --no-build -o out
3333

34-
FROM mcr.microsoft.com/dotnet/aspnet:9.0
34+
FROM mcr.microsoft.com/dotnet/aspnet:10.0
3535

3636
# Setup working directory for the project
3737
WORKDIR /

src/Services/Identity/dev.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder
22

33
# Setup working directory for the project
44
WORKDIR /
@@ -34,7 +34,7 @@ WORKDIR /src/Services/Identity/src/Identity.Api
3434
RUN --mount=type=cache,id=identity_nuget,target=/root/.nuget/packages \
3535
dotnet publish -c Release --no-build -o out
3636

37-
FROM mcr.microsoft.com/dotnet/aspnet:9.0
37+
FROM mcr.microsoft.com/dotnet/aspnet:10.0
3838

3939
# Setup working directory for the project
4040
WORKDIR /

src/Services/Passenger/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS builder
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS builder
22
WORKDIR /
33

44
COPY ./.editorconfig ./
@@ -31,7 +31,7 @@ WORKDIR /src/Services/Passenger/src/Passenger.Api
3131
# and no build, as we did it already
3232
RUN dotnet publish -c Release --no-build -o out
3333

34-
FROM mcr.microsoft.com/dotnet/aspnet:9.0
34+
FROM mcr.microsoft.com/dotnet/aspnet:10.0
3535

3636
# Setup working directory for the project
3737
WORKDIR /

0 commit comments

Comments
 (0)