From 7aba2afcccf8f339dc377ee6d8f9fede0fe3cc67 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 2 Jul 2024 19:09:10 +0200 Subject: [PATCH] [wasm] Add vc redistributable for the new llvm (#1124) --- .../ltsc2022/helix/webassembly/amd64/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/windowsservercore/ltsc2022/helix/webassembly/amd64/Dockerfile b/src/windowsservercore/ltsc2022/helix/webassembly/amd64/Dockerfile index e8a0a311..a4d355e6 100644 --- a/src/windowsservercore/ltsc2022/helix/webassembly/amd64/Dockerfile +++ b/src/windowsservercore/ltsc2022/helix/webassembly/amd64/Dockerfile @@ -31,3 +31,9 @@ RUN npm install jsvu -g RUN npm exec -c "jsvu --os=win64 --engines=v8" RUN setx PATH "%PATH%;%USERPROFILE%\.jsvu\bin" RUN v8 -e "console.log(version());quit();" + +# install vc redistributable for llvm 19 +ENV VC_REDIST_VERSION 17 +RUN curl -SL --output %TEMP%\vc_redist.x64.exe https://aka.ms/vs/%VC_REDIST_VERSION%/release/vc_redist.x64.exe \ + && %TEMP%\vc_redist.x64.exe /install /passive /norestart /wait \ + && del /q %TEMP%\vc_redist.x64.exe