Created
February 11, 2017 17:23
-
-
Save vlj/95e53e07c9f1fbd7bd4ff5120c7c6987 to your computer and use it in GitHub Desktop.
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
FROM microsoft/windowsservercore | |
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | |
RUN Invoke-WebRequest 'http://go.microsoft.com/fwlink/?LinkId=691126' -OutFile 'visualcppbuildtools_full.exe'; | |
RUN Start-Process .\visualcppbuildtools_full.exe -ArgumentList '/NoRestart /S' -Wait ; | |
RUN rm visualcppbuildtools_full.exe | |
RUN Invoke-WebRequest https://github.com/Microsoft/vcpkg/archive/master.zip -OutFile vcpkg.zip; | |
RUN Expand-Archive vcpkg.zip -DestinationPath vcpkg; | |
WORKDIR vcpkg/vcpkg-master | |
RUN New-Item -ItemType Directory -Path downloads; | |
RUN New-Item -ItemType File -Path downloads\AlwaysAllowEverything; | |
RUN ls | |
RUN scripts\bootstrap.ps1; | |
RUN .\vcpkg.exe integrate install | |
RUN .\vcpkg.exe install zlib | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment