diff --git a/docker/windows-release-builder.Dockerfile b/docker/windows-release-builder.Dockerfile index 21d97a6..e23273f 100644 --- a/docker/windows-release-builder.Dockerfile +++ b/docker/windows-release-builder.Dockerfile @@ -38,18 +38,16 @@ RUN Set-ExecutionPolicy Bypass -Scope Process; ` [System.Net.SecurityProtocolType]::Tls12; ` iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) -# Install Git and Rustup via Chocolatey RUN choco install git -y --no-progress RUN choco install rustup.install -y --no-progress -# Install stable Rust toolchain RUN rustup toolchain install stable-x86_64-pc-windows-msvc RUN rustup default stable-x86_64-pc-windows-msvc SHELL ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\VsDevCmd.bat", "&&", "powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"] # Install dioxus-cli from git HEAD with cargo +# This is to work around a bug in the windows builder upstream. +# Dioxus has released 0.7.2, but it seems to be broken for now. RUN cargo install --git https://github.com/DioxusLabs/dioxus dioxus-cli -# 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"]