Browse Source

Completed upgrading to net7

pull/160/head
malik masis 4 years ago
parent
commit
df3107fa1c
  1. 2
      .github/workflows/dotnet.yml
  2. 2
      README.md
  3. 1
      apps/public-web/src/EShopOnAbp.PublicWeb/Dockerfile
  4. 1
      gateways/web-public/src/EShopOnAbp.WebPublicGateway/Dockerfile
  5. 1
      gateways/web/src/EShopOnAbp.WebGateway/Dockerfile
  6. 2
      global.json
  7. 1
      services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/Dockerfile
  8. 1
      services/basket/src/EShopOnAbp.BasketService/Dockerfile
  9. 1
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/Dockerfile
  10. 1
      services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/Dockerfile
  11. 1
      services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/Dockerfile
  12. 1
      services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/Dockerfile
  13. 1
      services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host/Dockerfile

2
.github/workflows/dotnet.yml

@ -16,7 +16,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build

2
README.md

@ -16,7 +16,7 @@ You can either run in Visual Studio, or using [Microsoft Tye](https://github.com
### Requirements
- .NET 6.0+
- .NET 7.0+
- Docker
- Yarn

1
apps/public-web/src/EShopOnAbp.PublicWeb/Dockerfile

@ -42,7 +42,6 @@ COPY . .
WORKDIR "/src/apps/public-web/src/EShopOnAbp.PublicWeb"
RUN dotnet publish -c Release -o /app
# Should be used after .net6 is out of preview for better performance
# RUN dotnet publish --no-restore -c Release -o /app
FROM build AS publish

1
gateways/web-public/src/EShopOnAbp.WebPublicGateway/Dockerfile

@ -41,7 +41,6 @@ COPY . .
WORKDIR "/src/gateways/web-public/src/EShopOnAbp.WebPublicGateway"
RUN dotnet publish -c Release -o /app
# Should be used after .net6 is out of preview for better performance
# RUN dotnet publish --no-restore -c Release -o /app
FROM build AS publish

1
gateways/web/src/EShopOnAbp.WebGateway/Dockerfile

@ -41,7 +41,6 @@ COPY . .
WORKDIR "/src/gateways/web/src/EShopOnAbp.WebGateway"
RUN dotnet publish -c Release -o /app
# Should be used after .net6 is out of preview for better performance
# RUN dotnet publish --no-restore -c Release -o /app
FROM build AS publish

2
global.json

@ -1,6 +1,6 @@
{
"sdk": {
"version": "6.0.100",
"version": "7.0.100",
"rollForward": "latestFeature"
}
}

1
services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/Dockerfile

@ -41,7 +41,6 @@ COPY . .
WORKDIR "/src/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host"
RUN dotnet publish -c Release -o /app
# Should be used after .net6 is out of preview for better performance
# RUN dotnet publish --no-restore -c Release -o /app
FROM build AS publish

1
services/basket/src/EShopOnAbp.BasketService/Dockerfile

@ -41,7 +41,6 @@ COPY . .
WORKDIR "/src/services/basket/src/EShopOnAbp.BasketService"
RUN dotnet publish -c Release -o /app
# Should be used after .net6 is out of preview for better performance
# RUN dotnet publish --no-restore -c Release -o /app
FROM build AS publish

1
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/Dockerfile

@ -41,7 +41,6 @@ COPY . .
WORKDIR "/src/services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host"
RUN dotnet publish -c Release -o /app
# Should be used after .net6 is out of preview for better performance
# RUN dotnet publish --no-restore -c Release -o /app
FROM build AS publish

1
services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/Dockerfile

@ -41,7 +41,6 @@ COPY . .
WORKDIR "/src/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host"
RUN dotnet publish -c Release -o /app
# Should be used after .net6 is out of preview for better performance
# RUN dotnet publish --no-restore -c Release -o /app
FROM build AS publish

1
services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/Dockerfile

@ -41,7 +41,6 @@ COPY . .
WORKDIR "/src/services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host"
RUN dotnet publish -c Release -o /app
# Should be used after .net6 is out of preview for better performance
# RUN dotnet publish --no-restore -c Release -o /app
FROM build AS publish

1
services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/Dockerfile

@ -41,7 +41,6 @@ COPY . .
WORKDIR "/src/services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host"
RUN dotnet publish -c Release -o /app
# Should be used after .net6 is out of preview for better performance
# RUN dotnet publish --no-restore -c Release -o /app
FROM build AS publish

1
services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host/Dockerfile

@ -41,7 +41,6 @@ COPY . .
WORKDIR "/src/services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host"
RUN dotnet publish -c Release -o /app
# Should be used after .net6 is out of preview for better performance
# RUN dotnet publish --no-restore -c Release -o /app
FROM build AS publish

Loading…
Cancel
Save