1
0
Fork 0

add ATL component, build windows image without cache

This commit is contained in:
Mikhail Goncharov 2020-08-12 17:32:55 +00:00
parent 5da900df30
commit 06db27454c
4 changed files with 4 additions and 2 deletions

View file

@ -22,7 +22,9 @@ RUN C:\TEMP\vs_buildtools.exe --quiet --wait --norestart --nocache `
--channelUri C:\TEMP\VisualStudio.chman `
--installChannelUri C:\TEMP\VisualStudio.chman `
--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
# Register DIA dll (Debug Interface Access) so it can be used to symbolize

View file

@ -40,7 +40,7 @@ Write-Host "Building ${IMAGE_NAME}:${container_version}..."
Write-Host "Using windows-agent ${agent_windows_version}"
Invoke-Call -ScriptBlock {
docker build . `
docker build . --no-cache `
-t ${IMAGE_NAME}:${container_version} `
-t ${IMAGE_NAME}:latest `
--build-arg agent_windows_version=$agent_windows_version