add ATL component, build windows image without cache
This commit is contained in:
parent
5da900df30
commit
06db27454c
4 changed files with 4 additions and 2 deletions
Binary file not shown.
|
@ -22,7 +22,9 @@ RUN C:\TEMP\vs_buildtools.exe --quiet --wait --norestart --nocache `
|
||||||
--channelUri C:\TEMP\VisualStudio.chman `
|
--channelUri C:\TEMP\VisualStudio.chman `
|
||||||
--installChannelUri C:\TEMP\VisualStudio.chman `
|
--installChannelUri C:\TEMP\VisualStudio.chman `
|
||||||
--installPath C:\BuildTools `
|
--installPath C:\BuildTools `
|
||||||
--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended `
|
--add Microsoft.VisualStudio.Workload.VCTools `
|
||||||
|
--add Microsoft.VisualStudio.Component.VC.ATL `
|
||||||
|
--includeRecommended `
|
||||||
|| IF "%ERRORLEVEL%"=="3010" EXIT 0
|
|| IF "%ERRORLEVEL%"=="3010" EXIT 0
|
||||||
|
|
||||||
# Register DIA dll (Debug Interface Access) so it can be used to symbolize
|
# Register DIA dll (Debug Interface Access) so it can be used to symbolize
|
||||||
|
|
Binary file not shown.
|
@ -40,7 +40,7 @@ Write-Host "Building ${IMAGE_NAME}:${container_version}..."
|
||||||
Write-Host "Using windows-agent ${agent_windows_version}"
|
Write-Host "Using windows-agent ${agent_windows_version}"
|
||||||
|
|
||||||
Invoke-Call -ScriptBlock {
|
Invoke-Call -ScriptBlock {
|
||||||
docker build . `
|
docker build . --no-cache `
|
||||||
-t ${IMAGE_NAME}:${container_version} `
|
-t ${IMAGE_NAME}:${container_version} `
|
||||||
-t ${IMAGE_NAME}:latest `
|
-t ${IMAGE_NAME}:latest `
|
||||||
--build-arg agent_windows_version=$agent_windows_version
|
--build-arg agent_windows_version=$agent_windows_version
|
||||||
|
|
Loading…
Reference in a new issue