diff --git a/windows/package-i686/Dockerfile b/windows/package-i686/Dockerfile index 0bf9ae1..0d671e6 100644 --- a/windows/package-i686/Dockerfile +++ b/windows/package-i686/Dockerfile @@ -37,6 +37,11 @@ FROM mcr.microsoft.com/windows/servercore:$WIN_VERSION COPY --from=MSYS2_download C:/msys64 C:/msys64 +# Install .NET runtime for i686 +RUN powershell -Command "\ + Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -OutFile C:/windows/temp/dotnet-install.ps1' -ErrorAction Stop; \ + C:/windows/temp/dotnet-install.ps1 -Architecture x86" + # Download Windows 10 SDK and install only `signtool.exe` ARG SDK_URL="https://go.microsoft.com/fwlink/p/?linkid=2196241" ARG SDK_EXE="C:/windows/temp/winsdksetup.exe" diff --git a/windows/package-x86_64/Dockerfile b/windows/package-x86_64/Dockerfile index aa91252..a9d9ddf 100644 --- a/windows/package-x86_64/Dockerfile +++ b/windows/package-x86_64/Dockerfile @@ -32,6 +32,11 @@ FROM mcr.microsoft.com/windows/servercore:$WIN_VERSION COPY --from=MSYS2_download C:/msys64 C:/msys64 +# Install .NET runtime for x86_64 +RUN powershell -Command "\ + Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -OutFile C:/windows/temp/dotnet-install.ps1' -ErrorAction Stop; \ + C:/windows/temp/dotnet-install.ps1 -Architecture x64" + # Download Windows 10 SDK and install only `signtool.exe` ARG SDK_URL="https://go.microsoft.com/fwlink/p/?linkid=2196241" ARG SDK_EXE="C:/windows/temp/winsdksetup.exe"