From 35c4681f11e674094e008006c0f0034ea0edb324 Mon Sep 17 00:00:00 2001 From: restitux Date: Tue, 2 Dec 2025 17:15:09 -0700 Subject: [PATCH] add rust to container build --- docker/windows-release-builder.Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/windows-release-builder.Dockerfile b/docker/windows-release-builder.Dockerfile index 164e97c..c52cebf 100644 --- a/docker/windows-release-builder.Dockerfile +++ b/docker/windows-release-builder.Dockerfile @@ -33,6 +33,12 @@ RUN powershell -NoProfile -Command ` $cmakeDir = \"C:\\cmake-$env:CMAKE_VERSION-$env:CMAKE_ARCH\\bin\"; ` [Environment]::SetEnvironmentVariable('PATH', $cmakeDir + ';' + $env:PATH, 'Machine') +RUN powershell -Command ` + $ErrorActionPreference = 'Stop'; ` + Invoke-WebRequest -Uri https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe -OutFile rustup-init.exe; ` + .\rustup-init.exe -y --default-toolchain stable; ` + Remove-Item .\rustup-init.exe + # Define the entry point for the docker container. # This entry point starts the developer command prompt and launches the PowerShell shell. ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\VsDevCmd.bat", "&&", "powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]