Skip to content

Commit c195369

Browse files
committed
Try a different approach too
1 parent 8722d8b commit c195369

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/docker/python-wheel-windows-vs2022-base.dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# NOTE: You must update PYTHON_WHEEL_WINDOWS_IMAGE_REVISION in .env
5353
# when you update this file.
5454

55-
FROM mcr.microsoft.com/windows/servercore:ltsc2022-KB5051979
55+
FROM mcr.microsoft.com/windows/servercore:ltsc2022
5656

5757
# Ensure we in a command shell and not Powershell
5858
SHELL ["cmd", "/S", "/C"]
@@ -71,6 +71,7 @@ RUN `
7171
--add Microsoft.VisualStudio.Component.VC.CMake.Project `
7272
|| IF "%ERRORLEVEL%"=="3010" EXIT 0) `
7373
&& del /q vs_buildtools.exe
74+
RUN call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
7475

7576
# Install choco CLI
7677
#

0 commit comments

Comments
 (0)