diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml
index 0c17baea37069922b0432a0f71ba5dc9e01de644..032517b4ddb10de0d70c66e08ee70c38c254d098 100644
--- a/.gitlab/ci/build.gitlab-ci.yml
+++ b/.gitlab/ci/build.gitlab-ci.yml
@@ -38,6 +38,7 @@ build:windows_cpp:
   tags:
     - windows
 
+  image: mcr.microsoft.com/windows/servercore:ltsc2022
   script:
     - mkdir -p build_cpp
     - mkdir -p install_cpp