With the current microsoft/aspnetcore-build:2.0 (or simimarly tag 2.0.2) Docker container image, it always takes at least 20 seconds to build even a simple ASP.NET Core app.
As I got to know that the next version of msbuild will be focusing on major performance improvements, I tried it out. Apart of the current Visual Studio 2017 15.5 Preview (15.5.0 version 1.0) comes version 15.5.113.63837 of msbuild. And indeed, this version only takes at most 10 seconds to build a simple app, which is an impressive improvement!
How should I proceed in order to integrate this latest version of msbuild in my Dockerfile pipeline? Is it easy to wire up the current dotnet 2.0.2 sdk with the latest msbuild? Maybe there is a specific tag available to really get the latest msbuild / dotnet sdk?
Specifications of my machine:
- Windows Version: 10.0.15063 Build 15063
- System SKU: LENOVO_MT_20CJ_BU_Think_FM_ThinkPad T550
- Installed Physical Memory (RAM): 32,0 GB
- Processor: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2594 Mhz, 2 Core(s), 4 Logical Processor(s)
- Disk Model: Samsung SSD 840 EVO 500GB