Skip to content

[Question] Usage of MSVC toolchain within images #102

Closed
@lippertmarkus

Description

@lippertmarkus

There's currently ongoing work on providing an official Rust Windows image in rust-lang/docker-rust#71. As Rust uses the MSVC toolchain as a default for compiling for Windows (https://doc.rust-lang.org/edition-guide/rust-2018/platform-and-target-support/msvc-toolchain-support.html), it needs to be included within the image.

The issue of licensing has now come up. E.g. https://devblogs.microsoft.com/cppblog/using-msvc-in-a-docker-container-for-your-c-projects/ says:

Remember that the VS Build Tools are licensed as a supplement to your existing Visual Studio license. Any images built with these tools should be for your personal use or for use in your organization in accordance with your existing Visual Studio and Windows licenses. Please don’t share these images on a public Docker hub.

Are there any updates to that? Does that mean we can't provide an official Rust Windows image which would both help the Rust and the Windows Container community or is a reference to the VS Build tools license enough?

We were wondering because the official .NET Framework SDK image is also using the VS Build Tools (https://github.com/microsoft/dotnet-framework-docker/blob/3b2ac5bcda7603b94c0b6399355f3d0c0c1eb512/src/sdk/4.8/windowsservercore-1909/Dockerfile#L21-L30) without explicitly stating that you need a Visual Studio License to be allowed to use the official image.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions