Skip to content

brycem/win10build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Win10Sdk

Builds a Docker image with Visual C++ Build tools and Windows 10 SDK v10.0.26624. Also includes Wix3.1, CMake, DotNet45 & WinSdk8.1:

The [ENTRYPOINT] is powershell, but it calls vcbuildtools.bat script to set Visual Studio 2015 build environment variables.

License

Code contained in this repro is under MIT license. Howerver, the image it creates is based on Microsoft Windows and Visual Studio software, released under their own licenses.

Please review:

Versioning Notes

brycem/win10build:Latest should generally match microsoft/windowsservercore:Latest

$WinVer = Get-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion';
$WinVer.CurrentMajorVersionNumber,$WinVer.CurrentMinorVersionNumber,$WinVer.CurrentBuildNumber,$WinVer.UBR|`
  ForEach-Object {$BuildVer+=[String]$_+'.'};
$BuildVer=$BuildVer.TrimEnd('.');

Build image

docker build -t win10build .

Use the image

docker run -v "$(pwd):C:\code" win10build msbuild yourproject.sln /p:Configuration=Release

Example

git clone -v -recursive https://github.com/$fork/$repo -b $branch
cd $repo
docker run -v "$(pwd):C:\code" brycem/win10build msbuild yourproject.sln /p:Configuration=Release

About

This repo contains resources to build the brycem/win10build Docker image on dockerhub: https://hub.docker.com/r/brycem/win10build/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors