add rust to container build
Build Mumble Web 2 release builder containers / windows-release-builder-container-build (push) Successful in 3m17s
Build Mumble Web 2 release builder containers / windows-release-builder-container-build (push) Successful in 3m17s
This commit is contained in:
@@ -33,6 +33,12 @@ RUN powershell -NoProfile -Command `
|
|||||||
$cmakeDir = \"C:\\cmake-$env:CMAKE_VERSION-$env:CMAKE_ARCH\\bin\"; `
|
$cmakeDir = \"C:\\cmake-$env:CMAKE_VERSION-$env:CMAKE_ARCH\\bin\"; `
|
||||||
[Environment]::SetEnvironmentVariable('PATH', $cmakeDir + ';' + $env:PATH, 'Machine')
|
[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.
|
# Define the entry point for the docker container.
|
||||||
# This entry point starts the developer command prompt and launches the PowerShell shell.
|
# 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"]
|
ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\VsDevCmd.bat", "&&", "powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]
|
||||||
|
|||||||
Reference in New Issue
Block a user