Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ivansharamok/9277edc1466e78d5bf078ce61df7e635 to your computer and use it in GitHub Desktop.
Save ivansharamok/9277edc1466e78d5bf078ce61df7e635 to your computer and use it in GitHub Desktop.
Dockerfile for dotnet-framework SDK with NetFxTools
# 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