Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce ue4-build-prerequisites Windows image (#144)
This commit: 1. Replaces base image from mcr.microsoft.com/dotnet/framework/sdk to mcr.microsoft.com/windows/servercore The former is 9GB while the latter is just 5GB. dotnet/framework/sdk contains lots of things that are not actually needed to build ue4, the hugest is VS Test Agent + VS Build Tools 2019 that take together 2.2GB 2. Stops installing unneeded VS Build Tools workloads/components and only installs required minimum: * MSBuild (needed to build MSBuild-based UE4 tools, like UBT) * NuGet (needed to run MSBuild) * C# compiler (needed to build C# UE4 tools) * .NET SDK 4.5 + 4.6.2 (same as above) * Windows 10 SDK (needed to build C++ code) * VCTools: C++ compiler, VC redist (same as above) Cumulatively, this commit reduces ue4-build-prerequisites image from 24.5GB down to 10.7GB. The most important consequence of this change is that it reduces ue4-minimal/ue4-full image sizes by the same amount
- Loading branch information