Docker Build command not installing 32bit application vs_BuildTools.exe(Ms Build) installer

Should have created a Microsoft Visual Studio Installer folder under 32 bit Program Files (x86)

No folder created

I am currently runing powershell script to create Build images on Windows 2016 docker container instances, the script used to work without any issues from last couple of months but suddenly the script started to failm after investiating it looks like the docker not able to create or install 32bit applications on windows 2016 servers.

  • the output of:
    • DockerDebugInfo.ps1 using Powershell on Windows
  • a reproducible case if this is a bug, Dockerfiles FTW

escape=`

FROM mcr.microsoft.com/dotnet/framework/runtime:4.7.2-20190910-windowsservercore-ltsc2016

SHELL [“powershell”, “-Command”, “$ErrorActionPreference = ‘Stop’; $ProgressPreference = ‘SilentlyContinue’;”]

RUN Invoke-WebRequest -UseBasicParsing https://download.visualstudio.microsoft.com/download/pr/12210059/e64d79b40219aea618ce2fe10ebd5f0d/vs_BuildTools.exe -OutFile vs_BuildTools.exe; setx /M DOTNET_SKIP_FIRST_TIME_EXPERIENCE 1;
Start-Process C:\vs_BuildTools.exe -ArgumentList ‘–add’, ‘Microsoft.VisualStudio.Workload.MSBuildTools’, ‘–add’,

  • page URL if this is a docs issue or the name of a man page
  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )
    Version: 1.12.2-cs2-ws-b
    API version: 1.25
    Go version: go1.7.1
    Git commit: 050b611
    Built: Tue Oct 11 02:3
    OS/Arch: windows/amd64

Server:
Version: 1.12.2-cs2-ws-b
API version: 1.25
Go version: go1.7.1
Git commit: 050b611
Built: Tue Oct 11 02:3
OS/Arch: windows/amd64

Steps to reproduce the behavior

  1. use the attached powershell scipts in the dockerfile to build the image the output shows success bu the folders doesnt get created on the image.

By using the latest version image has solved the problem.