AndreiBarbuOz / dockerized-robot

Dockerized UiPath Robot used in CI/CD pipelines
MIT License
21 stars 22 forks source link

docker build stucked on 2 step #9

Closed salvorusso closed 4 years ago

salvorusso commented 4 years ago

Trying to build the image locally, but build stops at second step, hanging like this: Step 2/3 : RUN PowerShell -Command New-Item -Path "C:\\" -ItemType "directory" -Name "UiPath"; Invoke-WebRequest "https://download.uipath.com/UiPathStudio.msi" -OutFile "C:\\UiPathStudio.msi"; Start-Process C:\\UiPathStudio.msi -ArgumentList 'ADDLOCAL=DesktopFeature,Robot APPLICATIONFOLDER=C:\\UiPath /quiet' -Wait; Remove-Item "C:\\UiPathStudio.msi" -Force; Install-PackageProvider -Name NuGet -Force; Register-PSRepository -Name UiPath -SourceLocation https://www.myget.org/F/uipath-dev/api/v2; Install-Module -Repository UiPath -Name UiPath.Powershell -Force ---> Running in 1391568c4ccc Directory: C:\ Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 5/26/2020 3:40 PM UiPath

AndreiBarbuOz commented 4 years ago

hi @salvorusso ,

Please give the docker build more time. Bear in mind that during the build, the installer msi needs to be downloaded and then installed, as well as the PoSh library.

Please have a look at the latest docker build here: https://dev.azure.com/andbarbu0717/UiPath%20Good%20Practices/_build/results?buildId=36&view=results which was successful, but it did take some time