Skip to content
Discussion options

You must be logged in to vote

There is documentation for how to install VS Build Tools for each of the supported VS versions. The page for VS 2017 can be found at https://docs.microsoft.com/visualstudio/install/build-tools-container?view=vs-2017.

In your scenario, it would look something like this:

# escape=`

FROM microsoft/dotnet-framework:4.7.2-sdk-windowsservercore-ltsc2016

# Restore the default Windows shell for correct batch processing.
SHELL ["cmd", "/S", "/C"

RUN `
    # Download the Build Tools bootstrapper.
    curl -SL --output vs_buildtools.exe https://aka.ms/vs/15/release/vs_buildtools.exe `
    `
    && (start /w vs_buildtools.exe --quiet --wait --norestart --nocache `
        --installPath C:\BuildToo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Alvin-Prasla
Comment options

Answer selected by Alvin-Prasla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants