summaryrefslogtreecommitdiffstats
path: root/build/download/docker_downloader.py
AgeCommit message (Collapse)AuthorFilesLines
2020-11-16Fix race condition while creating dest dir for docker imagesBartek Grzybowski1-2/+1
Docker_downloader module uses threads to concurrently save docker images to dest dir which creation is not guarded with any kind of thread lock object thus it could fail on os.makedirs as other thread could have already created that dir. Hence "exist_ok=True" opt is added to os.makedirs call so that it does not fail in such circumstances. Change-Id: I6e2d2c9864b71d038e7b2ed3018cdd3c01916956 Issue-ID: OOM-2631 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-11-25Downloading docker images does not work on WindowsSamuli Silvius1-1/+1
Changing build/download/docker_downloader.py to connect docker engine in more default way i.e. taking engine parameters from environment fixes this script. Issue-ID: OOM-2223 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: Iddf69593bb4cf4596e713c8d537a90424c5925ef
2019-07-09Fix wrong shebang in download scriptsMilan Verespej1-1/+1
Download does not support python2 so shebang could cause problem. This commit fixes that or removes shebang where not necessary. Issue-ID: OOM-1964 Change-Id: I443f5ef61b9bddfddba66d858d8f65c5ceacd90a Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-18Refactor and improve docker image downloadingMilan Verespej1-0/+242
Issue-ID: OOM-1803 Change-Id: I4e648d49835faa60165725d1ca4ec22ba1e3e12b Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>