Skip to content

Commit

Permalink
install Vulkan silently
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Jan 15, 2024
1 parent 974c88d commit f9be775
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ 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 -FilePath .\VulkanSDK-Installer.exe -ArgumentList '/S'
RUN powershell -Command Start-Process -Wait -PassThru -FilePath .\VulkanSDK-Installer.exe -ArgumentList -ArgumentList '--accept-licenses', '--default-answer', '--confirm-command', 'install', '--root', 'C:\VulkanSDKCustom'

RUN powershell -Command echo "Removing Vulkan SDK installer..."
RUN powershell -Command Remove-Item -Force VulkanSDK-Installer.exe

RUN cd C:\VulkanSDKCustom && ls

# build scene-lod
FROM base as scene-lod-build

Expand Down Expand Up @@ -80,7 +82,7 @@ RUN setx /M PATH "%PATH%;C:\Node\node-v18.0.0-win-x64"
WORKDIR /app

# Copy Vulkan dll
COPY --from=base /bin/VulkanSDK/Bin/vulkan-1.dll .
COPY --from=base /VulkanSDKCustom/vulkan-1.dll .

COPY --from=dotnet-build /app/api/publish/DCL_PiXYZ.exe .

Expand Down

0 comments on commit f9be775

Please sign in to comment.