forked from yhmtsai/ci_windows_cuda
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindows_1903.dockerfile
More file actions
12 lines (8 loc) · 868 Bytes
/
windows_1903.dockerfile
File metadata and controls
12 lines (8 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
FROM mcr.microsoft.com/windows:1903
RUN @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
RUN choco install git.install -y
RUN choco install cmake -y --installargs '"ADD_CMAKE_TO_PATH=System"'
RUN choco install visualstudio2019buildtools --package-parameters "--includeRecommended --includeOptional" -y
RUN choco install visualstudio2019-workload-vctools -y
RUN choco install cuda -y
RUN copy "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\*.*" "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\BuildCustomizations"