Skip to content

WNProject/DockerBuildWindows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Build Windows

License CI

Docker container containing all needed Windows C/C++ build tools. Each container will contain only one version of MSVC but will contain all additional libraries and build tools needed (Python 3, Ninja, etc). Currently we only support x86-64 compilers.

Usage

There are 2 ways to use this container Interactive and Command mode.

Interactive

This will run the container which will pre-configure the correct MSVC build tools and drop you into powershell.

docker run -it -v C:\src:C:\src build-windows

Command

This will run the container which will pre-configure the correct MSVC build tools and run the supplied command directly.

docker run -v C:\src:C:\src build-windows [command]

Building

docker build -t build-windows --build-arg VS_VERSION=[15|16] .

Note that VS_VERSION must be supplied as the Dockerfile does not specify a default. Currently only 15 (MSVC 15/Visual Studio 2017) and 16 (MSVC 16/Visual Studio 2019) are supported.

About

🐳 Docker container containing all needed Windows C/C++ build tools

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •