Skip to content

Target rustup-init.exe to run on Microsoft Nano Server #1994

Open
@cdhunt

Description

@cdhunt

Describe the problem you are trying to solve

I'm trying to build a Windows-based build container for Rust-lang. Initially, I tried to run rustup-init.exe in a Nano Server 1903 container and the process immediately dies. The verbose flag doesn't provide any extra information. The exit code is -1073741515.

This works fine in a Windows Server Core 1903 container, but the Nano image is 400MB and the Server Core image is 5GB.

Describe the solution you'd like

Being able to run the Rust toolchain in a Nano container would help in development in testing.

Notes

docker run --rm -it mcr.microsoft.com/powershell:nanoserver-1903
> iwr https://win.rustup.rs/ -outfile rustup-init.exe
> .\rustup-init.exe -y -v --default-toolchain nightly-2019-09-11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions