From 38bd5937691ce4f45c8a21620a724c6bcc2fafdd Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Thu, 7 Oct 2021 15:13:26 +0300 Subject: [PATCH] Dockerfile .net version update --- apps/auth-server/src/EShopOnAbp.AuthServer/Dockerfile | 4 ++-- apps/public-web/src/EShopOnAbp.PublicWeb/Dockerfile | 4 ++-- gateways/internal/src/EShopOnAbp.InternalGateway/Dockerfile | 4 ++-- .../web-public/src/EShopOnAbp.WebPublicGateway/Dockerfile | 4 ++-- gateways/web/src/EShopOnAbp.WebGateway/Dockerfile | 4 ++-- .../EShopOnAbp.AdministrationService.HttpApi.Host/Dockerfile | 4 ++-- .../src/EShopOnAbp.IdentityService.HttpApi.Host/Dockerfile | 4 ++-- .../saas/src/EShopOnAbp.SaasService.HttpApi.Host/Dockerfile | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/apps/auth-server/src/EShopOnAbp.AuthServer/Dockerfile b/apps/auth-server/src/EShopOnAbp.AuthServer/Dockerfile index fc794e5b..9eede96d 100644 --- a/apps/auth-server/src/EShopOnAbp.AuthServer/Dockerfile +++ b/apps/auth-server/src/EShopOnAbp.AuthServer/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:5.0 - COPY bin/Release/net5.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:6.0 + COPY bin/Release/net6.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EShopOnAbp.AuthServer.dll"] \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Dockerfile b/apps/public-web/src/EShopOnAbp.PublicWeb/Dockerfile index 5a1602ae..e783fe5e 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Dockerfile +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:5.0 - COPY bin/Release/net5.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:6.0 + COPY bin/Release/net6.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EShopOnAbp.PublicWeb.dll"] \ No newline at end of file diff --git a/gateways/internal/src/EShopOnAbp.InternalGateway/Dockerfile b/gateways/internal/src/EShopOnAbp.InternalGateway/Dockerfile index 51c96f66..2b7cbf5a 100644 --- a/gateways/internal/src/EShopOnAbp.InternalGateway/Dockerfile +++ b/gateways/internal/src/EShopOnAbp.InternalGateway/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:5.0 - COPY bin/Release/net5.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:6.0 + COPY bin/Release/net6.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EShopOnAbp.InternalGateway.dll"] \ No newline at end of file diff --git a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/Dockerfile b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/Dockerfile index 4fa3b189..2d3b43d9 100644 --- a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/Dockerfile +++ b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:5.0 - COPY bin/Release/net5.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:6.0 + COPY bin/Release/net6.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EShopOnAbp.WebPublicGateway.dll"] \ No newline at end of file diff --git a/gateways/web/src/EShopOnAbp.WebGateway/Dockerfile b/gateways/web/src/EShopOnAbp.WebGateway/Dockerfile index 896ad6fe..26009670 100644 --- a/gateways/web/src/EShopOnAbp.WebGateway/Dockerfile +++ b/gateways/web/src/EShopOnAbp.WebGateway/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:5.0 - COPY bin/Release/net5.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:6.0 + COPY bin/Release/net6.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EShopOnAbp.WebGateway.dll"] \ No newline at end of file diff --git a/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/Dockerfile b/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/Dockerfile index eda3b53f..6767ed03 100644 --- a/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/Dockerfile +++ b/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:5.0 - COPY bin/Release/net5.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:6.0 + COPY bin/Release/net6.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EShopOnAbp.AdministrationService.HttpApi.Host.dll"] \ No newline at end of file diff --git a/services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/Dockerfile b/services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/Dockerfile index 554ae5bf..b9c94610 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/Dockerfile +++ b/services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:5.0 - COPY bin/Release/net5.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:6.0 + COPY bin/Release/net6.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EShopOnAbp.IdentityService.HttpApi.Host.dll"] \ No newline at end of file diff --git a/services/saas/src/EShopOnAbp.SaasService.HttpApi.Host/Dockerfile b/services/saas/src/EShopOnAbp.SaasService.HttpApi.Host/Dockerfile index c0dd2b7d..505246d8 100644 --- a/services/saas/src/EShopOnAbp.SaasService.HttpApi.Host/Dockerfile +++ b/services/saas/src/EShopOnAbp.SaasService.HttpApi.Host/Dockerfile @@ -1,4 +1,4 @@ - FROM mcr.microsoft.com/dotnet/aspnet:5.0 - COPY bin/Release/net5.0/publish/ app/ + FROM mcr.microsoft.com/dotnet/aspnet:6.0 + COPY bin/Release/net6.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "EShopOnAbp.SaasService.HttpApi.Host.dll"] \ No newline at end of file