Last active
July 22, 2018 22:03
-
-
Save ivansharamok/9277edc1466e78d5bf078ce61df7e635 to your computer and use it in GitHub Desktop.
Dockerfile for dotnet-framework SDK with NetFxTools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# escape=` | |
FROM microsoft/dotnet-framework:4.7.2-sdk | |
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | |
# example path to NetFxTools: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools | |
ENV PATH_WITH_WHITESPACES="NETFX 4.5.1 Tools\\" | |
ENV ToolPath="C:\\NetFxTools" | |
RUN mkdir \NetFxTools | |
COPY ${PATH_WITH_WHITESPACES} ${ToolPath} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment