Updated 03. Setting the eShopOnContainers solution up in a Windows CLI environment (dotnet CLI, Docker CLI and VS Code) (markdown)

Cesar De la Torre 2017-10-27 18:08:33 -07:00
parent 4a9b2e9e4a
commit e92222389d

@ -136,8 +136,10 @@ This is the simplest way to do it from the CLI, but if you get the following err
That is a [bug in .NET CLI when running "dotnet publish" within a container](https://github.com/Microsoft/msbuild/issues/2153#issuecomment-305375162).
If you get this stopper, until the fix is released by the dotnet CLI team in the next version of the .NET CLI, in the meantime follow the *OPTION B* explained below, which is building the app's .NET binaries in the local Windows machine, instead of from a Linux build-container.
If you get this issue, until the fix is released by the dotnet CLI team in the next version of the .NET CLI, in the meantime, follow the OPTION B explained below, which is building the app's .NET binaries in the local Windows machine, instead of from a Linux build-container.
---
The recommended approach is to build the .NET bits and Docker images by using an special build container/image that should be used either from the CLI or your CI/CD pipeline. Doing that way you'll make sure that what you run and test locally is also built the same way by your CI/CD pipleine (having the same dependencies available within the build container, etc.).
<img src="img/building-bits_from_ci_container.png">