Skip to content

Commit ce504d9

Browse files
author
Borja García Rodríguez
committed
Updated to aspnet 5 dockerfiles.development for azds
1 parent c500677 commit ce504d9

10 files changed

Lines changed: 22 additions & 10 deletions

File tree

src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile.develop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0
22
ARG BUILD_CONFIGURATION=Debug
33
ENV ASPNETCORE_ENVIRONMENT=Development
44
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
@@ -7,6 +7,7 @@ EXPOSE 80
77
WORKDIR /src
88
COPY ["src/ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj", "src/ApiGateways/Mobile.Bff.Shopping/aggregator/"]
99
COPY ["src/BuildingBlocks/Devspaces.Support/Devspaces.Support.csproj", "src/BuildingBlocks/Devspaces.Support/"]
10+
COPY ["src/NuGet.config", "src/NuGet.config"]
1011

1112
RUN dotnet restore src/ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj -nowarn:msb3202,nu1503
1213
COPY . .

src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile.develop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0
22
ARG BUILD_CONFIGURATION=Debug
33
ENV ASPNETCORE_ENVIRONMENT=Development
44
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
@@ -7,6 +7,7 @@ EXPOSE 80
77
WORKDIR /src
88
COPY ["src/ApiGateways/Web.Bff.Shopping/aggregator/Web.Shopping.HttpAggregator.csproj", "src/ApiGateways/Web.Bff.Shopping/aggregator/"]
99
COPY ["src/BuildingBlocks/Devspaces.Support/Devspaces.Support.csproj", "src/BuildingBlocks/Devspaces.Support/"]
10+
COPY ["src/NuGet.config", "src/NuGet.config"]
1011

1112
RUN dotnet restore src/ApiGateways/Web.Bff.Shopping/aggregator/Web.Shopping.HttpAggregator.csproj -nowarn:msb3202,nu1503
1213
COPY . .

src/Services/Basket/Basket.API/Dockerfile.develop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0
22
ARG BUILD_CONFIGURATION=Debug
33
ENV ASPNETCORE_ENVIRONMENT=Development
44
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
@@ -10,6 +10,7 @@ COPY ["BuildingBlocks/EventBus/EventBus/EventBus.csproj", "BuildingBlocks/EventB
1010
COPY ["BuildingBlocks/EventBus/EventBusRabbitMQ/EventBusRabbitMQ.csproj", "BuildingBlocks/EventBus/EventBusRabbitMQ/"]
1111
COPY ["BuildingBlocks/EventBus/EventBusServiceBus/EventBusServiceBus.csproj", "BuildingBlocks/EventBus/EventBusServiceBus/"]
1212
COPY ["Services/Basket/Basket.API/Basket.API.csproj", "Services/Basket/Basket.API/"]
13+
COPY ["NuGet.config", "NuGet.config"]
1314

1415
RUN dotnet restore Services/Basket/Basket.API/Basket.API.csproj -nowarn:msb3202,nu1503
1516
COPY . .

src/Services/Catalog/Catalog.API/Dockerfile.develop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0
22
ARG BUILD_CONFIGURATION=Debug
33
ENV ASPNETCORE_ENVIRONMENT=Development
44
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
@@ -12,6 +12,7 @@ COPY ["BuildingBlocks/EventBus/EventBusServiceBus/EventBusServiceBus.csproj", "B
1212
COPY ["BuildingBlocks/EventBus/IntegrationEventLogEF/IntegrationEventLogEF.csproj", "BuildingBlocks/EventBus/IntegrationEventLogEF/"]
1313
COPY ["BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHost.Customization.csproj", "BuildingBlocks/WebHostCustomization/WebHost.Customization/"]
1414
COPY ["Services/Catalog/Catalog.API/Catalog.API.csproj", "Services/Catalog/Catalog.API/"]
15+
COPY ["NuGet.config", "NuGet.config"]
1516

1617
RUN dotnet restore Services/Catalog/Catalog.API/Catalog.API.csproj -nowarn:msb3202,nu1503
1718
COPY . .

src/Services/Identity/Identity.API/Dockerfile.develop

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0
22
ARG BUILD_CONFIGURATION=Debug
33
ENV ASPNETCORE_ENVIRONMENT=Development
44
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
@@ -7,6 +7,8 @@ EXPOSE 80
77
WORKDIR /src
88
COPY ["Services/Identity/Identity.API/Identity.API.csproj", "Services/Identity/Identity.API/"]
99
COPY ["BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHost.Customization.csproj", "BuildingBlocks/WebHostCustomization/WebHost.Customization/"]
10+
COPY ["NuGet.config", "NuGet.config"]
11+
1012
RUN dotnet restore Services/Identity/Identity.API/Identity.API.csproj -nowarn:msb3202,nu1503
1113
COPY . .
1214
WORKDIR "/src/Services/Identity/Identity.API"

src/Services/Ordering/Ordering.API/Dockerfile.develop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0
22
ARG BUILD_CONFIGURATION=Debug
33
ENV ASPNETCORE_ENVIRONMENT=Development
44
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
@@ -13,6 +13,7 @@ COPY ["BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHost.Customi
1313
COPY ["Services/Ordering/Ordering.Domain/Ordering.Domain.csproj", "Services/Ordering/Ordering.Domain/"]
1414
COPY ["Services/Ordering/Ordering.Infrastructure/Ordering.Infrastructure.csproj", "Services/Ordering/Ordering.Infrastructure/"]
1515
COPY ["Services/Ordering/Ordering.API/Ordering.API.csproj", "Services/Ordering/Ordering.API/"]
16+
COPY ["NuGet.config", "NuGet.config"]
1617

1718
RUN dotnet restore Services/Ordering/Ordering.API/Ordering.API.csproj
1819
COPY . .

src/Services/Ordering/Ordering.SignalrHub/Dockerfile.develop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0
22
ARG BUILD_CONFIGURATION=Debug
33
ENV ASPNETCORE_ENVIRONMENT=Development
44
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
@@ -9,6 +9,7 @@ COPY ["src/BuildingBlocks/EventBus/EventBus/EventBus.csproj", "src/BuildingBlock
99
COPY ["src/BuildingBlocks/EventBus/EventBusRabbitMQ/EventBusRabbitMQ.csproj", "src/BuildingBlocks/EventBus/EventBusRabbitMQ/"]
1010
COPY ["src/BuildingBlocks/EventBus/EventBusServiceBus/EventBusServiceBus.csproj", "src/BuildingBlocks/EventBus/EventBusServiceBus/"]
1111
COPY ["src/Services/Ordering/Ordering.SignalrHub/Ordering.SignalrHub.csproj", "src/Services/Ordering/Ordering.SignalrHub/"]
12+
COPY ["src/NuGet.config", "src/NuGet.config"]
1213

1314
RUN dotnet restore src/Services/Ordering/Ordering.SignalrHub/Ordering.SignalrHub.csproj
1415
COPY . .

src/Services/Payment/Payment.API/Dockerfile.develop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0
22
ARG BUILD_CONFIGURATION=Debug
33
ENV ASPNETCORE_ENVIRONMENT=Development
44
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
@@ -10,6 +10,7 @@ COPY ["BuildingBlocks/EventBus/EventBusRabbitMQ/EventBusRabbitMQ.csproj", "Build
1010
COPY ["BuildingBlocks/EventBus/EventBusServiceBus/EventBusServiceBus.csproj", "BuildingBlocks/EventBus/EventBusServiceBus/"]
1111
COPY ["BuildingBlocks/EventBus/IntegrationEventLogEF/IntegrationEventLogEF.csproj", "BuildingBlocks/EventBus/IntegrationEventLogEF/"]
1212
COPY ["Services/Payment/Payment.API/Payment.API.csproj", "Services/Payment/Payment.API/"]
13+
COPY ["NuGet.config", "NuGet.config"]
1314

1415
RUN dotnet restore Services/Payment/Payment.API/Payment.API.csproj
1516
COPY . .

src/Services/Webhooks/Webhooks.API/Dockerfile.develop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0
22
ARG BUILD_CONFIGURATION=Debug
33
ENV ASPNETCORE_ENVIRONMENT=Development
44
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
@@ -13,6 +13,7 @@ COPY ["BuildingBlocks/EventBus/IntegrationEventLogEF/IntegrationEventLogEF.cspro
1313
COPY ["BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHost.Customization.csproj", "BuildingBlocks/WebHostCustomization/WebHost.Customization/"]
1414
COPY ["BuildingBlocks/Devspaces.Support/Devspaces.Support.csproj", "BuildingBlocks/Devspaces.Support/"]
1515
COPY ["Services/Webhooks/Webhooks.API/Webhooks.API.csproj", "Services/Webhooks/Webhooks.API/"]
16+
COPY ["NuGet.config", "NuGet.config"]
1617

1718
RUN dotnet restore Services/Webhooks/Webhooks.API/Webhooks.API.csproj -nowarn:msb3202,nu1503
1819
COPY . .

src/Web/WebMVC/Dockerfile.develop

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
1+
FROM mcr.microsoft.com/dotnet/sdk:5.0
22
ARG BUILD_CONFIGURATION=Debug
33
ENV ASPNETCORE_ENVIRONMENT=Development
44
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
@@ -7,6 +7,8 @@ EXPOSE 80
77
WORKDIR /src
88
COPY ["Web/WebMVC/WebMVC.csproj", "Web/WebMVC/"]
99
COPY ["BuildingBlocks/Devspaces.Support/Devspaces.Support.csproj", "BuildingBlocks/Devspaces.Support/"]
10+
COPY ["NuGet.config", "NuGet.config"]
11+
1012
RUN dotnet restore "Web/WebMVC/WebMVC.csproj"
1113
COPY . .
1214
WORKDIR "/src/Web/WebMVC"

0 commit comments

Comments
 (0)