sixeyed / dockerfiles-windows

Dockerfiles for Windows containers
MIT License
237 stars 100 forks source link

Web Deploy for 4.7.1 does not install WebBuildTools #7

Open jsturtevant opened 6 years ago

jsturtevant commented 6 years ago

After building the dockerfile dockerfiles-windows/msbuild/netfx-4.7.1-webdeploy/Dockerfile using it to build an asp.net application does not work.

It seems that

Start-Process vs_BuildTools.exe -ArgumentList  '--add', 'Microsoft.VisualStudio.Workload.WebBuildTools', '--quiet', '--norestart', '--nocache' -NoNewWindow -Wait;

doesn't install the webbuild tools workload onto the container.

If I use the base image microsoft/dotnet-framework and install all of the workloads it seems to work. If I use the microsoft/dotnet-framework-build the web workload doesn't seem to get installed but there is no error