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.
There are 2 ways to use this container Interactive and Command mode.
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
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]
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.