diff --git a/RedDog.AccountingService/Dockerfile b/RedDog.AccountingService/Dockerfile index dfec7b7..19a5ecb 100644 --- a/RedDog.AccountingService/Dockerfile +++ b/RedDog.AccountingService/Dockerfile @@ -1,10 +1,10 @@ -FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 80 ENV ASPNETCORE_URLS=http://+:80 -FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY . . WORKDIR "/src/RedDog.AccountingService" diff --git a/RedDog.Bootstrapper/Dockerfile b/RedDog.Bootstrapper/Dockerfile index d60ba78..f8483db 100644 --- a/RedDog.Bootstrapper/Dockerfile +++ b/RedDog.Bootstrapper/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/runtime:5.0 AS base +FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base WORKDIR /app # Creates a non-root user with an explicit UID and adds permission to access the /app folder @@ -6,7 +6,7 @@ WORKDIR /app RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app USER appuser -FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY . . WORKDIR "/src/RedDog.Bootstrapper" diff --git a/RedDog.LoyaltyService/Dockerfile b/RedDog.LoyaltyService/Dockerfile index 9eb8e95..e3fcd90 100644 --- a/RedDog.LoyaltyService/Dockerfile +++ b/RedDog.LoyaltyService/Dockerfile @@ -1,10 +1,10 @@ -FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 80 ENV ASPNETCORE_URLS=http://+:80 -FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY . . WORKDIR "/src/RedDog.LoyaltyService" diff --git a/RedDog.MakeLineService/Dockerfile b/RedDog.MakeLineService/Dockerfile index 48034af..f66ee25 100644 --- a/RedDog.MakeLineService/Dockerfile +++ b/RedDog.MakeLineService/Dockerfile @@ -1,10 +1,10 @@ -FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 80 ENV ASPNETCORE_URLS=http://+:80 -FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY . . WORKDIR "/src/RedDog.MakeLineService" diff --git a/RedDog.OrderService/Dockerfile b/RedDog.OrderService/Dockerfile index b8f989a..a9cd777 100644 --- a/RedDog.OrderService/Dockerfile +++ b/RedDog.OrderService/Dockerfile @@ -1,10 +1,10 @@ -FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 80 ENV ASPNETCORE_URLS=http://+:80 -FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY . . WORKDIR "/src/RedDog.OrderService" diff --git a/RedDog.ReceiptGenerationService/Dockerfile b/RedDog.ReceiptGenerationService/Dockerfile index f1f7b49..d3be02b 100644 --- a/RedDog.ReceiptGenerationService/Dockerfile +++ b/RedDog.ReceiptGenerationService/Dockerfile @@ -1,10 +1,10 @@ -FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 80 ENV ASPNETCORE_URLS=http://+:80 -FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY . . WORKDIR "/src/RedDog.ReceiptGenerationService" diff --git a/RedDog.VirtualCustomers/Dockerfile b/RedDog.VirtualCustomers/Dockerfile index 27f949b..fb83c7f 100644 --- a/RedDog.VirtualCustomers/Dockerfile +++ b/RedDog.VirtualCustomers/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app # Creates a non-root user with an explicit UID and adds permission to access the /app folder @@ -6,7 +6,7 @@ WORKDIR /app RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app USER appuser -FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY . . WORKDIR "/src/RedDog.VirtualCustomers" diff --git a/RedDog.VirtualWorker/Dockerfile b/RedDog.VirtualWorker/Dockerfile index d743cf6..7e4ec4d 100644 --- a/RedDog.VirtualWorker/Dockerfile +++ b/RedDog.VirtualWorker/Dockerfile @@ -1,10 +1,10 @@ -FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 80 ENV ASPNETCORE_URLS=http://+:80 -FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY . . WORKDIR "/src/RedDog.VirtualWorker"