Fix Docker build after moving to centralized packaging
This commit is contained in:
		
							parent
							
								
									10a783c5b4
								
							
						
					
					
						commit
						3097651747
					
				| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -42,6 +42,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -52,6 +52,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -41,6 +41,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| # RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | # RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
| @ -42,6 +42,7 @@ COPY "Web/WebStatus/WebStatus.csproj" "Web/WebStatus/WebStatus.csproj" | |||||||
| 
 | 
 | ||||||
| COPY "docker-compose.dcproj" "docker-compose.dcproj" | COPY "docker-compose.dcproj" "docker-compose.dcproj" | ||||||
| 
 | 
 | ||||||
|  | COPY "Directory.Packages.props" "Directory.Packages.props" | ||||||
| COPY "NuGet.config" "NuGet.config" | COPY "NuGet.config" "NuGet.config" | ||||||
| 
 | 
 | ||||||
| RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user