diff --git a/windows/package-i686/Dockerfile b/windows/package-i686/Dockerfile index 934038e..83667ab 100644 --- a/windows/package-i686/Dockerfile +++ b/windows/package-i686/Dockerfile @@ -46,6 +46,9 @@ RUN powershell -Command "\ setx /M PATH ('%PATH%;' + (Resolve-Path 'C:/Program Files (x86)/Windows Kits/10/bin/*/x64/')) ; \ Remove-Item '%SDK_EXE%'" +# Install Visual C++ redistributables +RUN powershell -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://vcredist.com/install.ps1'))" + # Install AWS CLI RUN msiexec.exe /i "https://awscli.amazonaws.com/AWSCLIV2.msi" /quiet /qn && \ setx /M PATH "%PATH%;C:\Program Files\Amazon\AWSCLIV2" diff --git a/windows/package-x86_64/Dockerfile b/windows/package-x86_64/Dockerfile index ecec2b1..a68fe8d 100644 --- a/windows/package-x86_64/Dockerfile +++ b/windows/package-x86_64/Dockerfile @@ -41,6 +41,8 @@ RUN powershell -Command "\ setx /M PATH ('%PATH%;' + (Resolve-Path 'C:/Program Files (x86)/Windows Kits/10/bin/*/x64/')) ; \ Remove-Item '%SDK_EXE%'" +RUN powershell -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://vcredist.com/install.ps1'))" + # Install AWS CLI RUN msiexec.exe /i "https://awscli.amazonaws.com/AWSCLIV2.msi" /quiet /qn && \ setx /M PATH "%PATH%;C:\Program Files\Amazon\AWSCLIV2"