diff --git a/Dockerfiles/build-base/windows/Dockerfile.agent2 b/Dockerfiles/build-base/windows/Dockerfile.agent2 index 9d207c991..012b29734 100644 --- a/Dockerfiles/build-base/windows/Dockerfile.agent2 +++ b/Dockerfiles/build-base/windows/Dockerfile.agent2 @@ -177,4 +177,7 @@ RUN Set-Location -Path $env:SystemDrive\.; ` ` Write-Host 'Removing downloaded...'; ` Remove-Item -Force -Recurse $env:SystemDrive\msys64\*; ` - Remove-Item -Force -Recurse $env:TEMP\*; + Remove-Item -Force -Recurse $env:TEMP\*; ` + tasklist; ` + get-process; ` + taskkill /F /FI "MODULES eq msys-2.0.dll"; `