diff --git a/Dockerfile b/Dockerfile index b210bf0d..82743411 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ # prepare base image for TS projects FROM mcr.microsoft.com/windows/servercore:ltsc2019 as base +ADD https://aka.ms/vs/16/release/vc_redist.x64.exe C:\\vc_redist.x64.exe +RUN C:\\vc_redist.x64.exe /quiet /install + ADD https://nodejs.org/dist/v18.0.0/node-v18.0.0-win-x64.zip C:\\node.zip RUN powershell -Command \ Expand-Archive -Path C:\\node.zip -DestinationPath C:\\Node; \ @@ -19,12 +22,20 @@ RUN powershell -Command echo "Downloading Vulkan SDK..." RUN powershell -Command Invoke-WebRequest -Uri https://sdk.lunarg.com/sdk/download/latest/windows/vulkan-sdk.exe -OutFile VulkanSDK-Installer.exe RUN powershell -Command echo "Installing Vulkan SDK..." -RUN powershell -Command Start-Process -Wait -PassThru -FilePath .\VulkanSDK-Installer.exe -ArgumentList '--accept-licenses', '--default-answer', '--confirm-command', 'install', '--root', 'C:\VulkanSDKCustom' +# RUN powershell -Command Start-Process -Wait -PassThru -FilePath .\VulkanSDK-Installer.exe -ArgumentList '--accept-licenses', '--default-answer', '--confirm-command', 'install', '--root', 'C:\VulkanSDKCustom' +RUN .\VulkanSDK-Installer.exe --accept-licenses --default-answer --confirm-command install --root C:\VulkanSDKCustom +RUN powershell -Command echo "Vulkan SDK installed!" RUN powershell -Command echo "Removing Vulkan SDK installer..." RUN powershell -Command Remove-Item -Force VulkanSDK-Installer.exe -RUN cd C:\VulkanSDKCustom && ls +#print VULKAN_SDK env variable +RUN powershell -Command echo "VULKAN_SDK env variable:" +RUN powershell -Command echo $env:VULKAN_SDK + +RUN cd C:\VulkanSDKCustom && dir +RUN cd C:\VulkanSDKCustom\Bin && dir +RUN cd C:\VulkanSDKCustom\Lib && dir # build scene-lod FROM base as scene-lod-build