aboutsummaryrefslogtreecommitdiff
path: root/docker/base/curlrc
AgeCommit message (Collapse)AuthorFilesLines
2026-07-06Migrate to pyproject.tomlMichal Nasiadka1-8/+0
[tool.setuptools.data-files] does not support recursive directory installation. The old setup.cfg [files] worked because PBR's FilesConfig.expand_globs() used os.walk() to expand docker/*, but this hook is not triggered by the pbr.build PEP-517 backend. Move docker/ into kolla/ and use [tool.setuptools.package-data] instead. Update kolla_worker._get_images_dir() to check the kolla package directory first so both editable and regular installs work. Change-Id: I4fc452c03740ef22ebbb4e8d0d86c4f4783e2d09 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2023-03-20base: make curl retry on all errorsMichal Nasiadka1-0/+1
Change-Id: Icbf54154e4a2dffd840cfda9b6a863247d28c226
2022-08-22curl: Add retriesMichal Nasiadka1-0/+1
Change default 0 retries to 5, that should help for transient errors (timeouts, HTTP 408, 429, 500, 502, 503 or 504). Change-Id: Iad3c7270579ffb38299269481ac64d5582abaa22
2020-12-02Unify curl optionsMichaƂ Nasiadka1-0/+2
Currently we use couple of curl options throughout Dockerfiles, this change adds all common options to curlrc (-sSLf) and removes usage of those in Dockerfiles. Change-Id: I46b77978926fc2b578a68d1aaa944b2198af0685
2016-06-02add curlrc file to base imageBenedikt Trefzer1-0/+4
The curlrc file for root allows better output control for curl downloads during build process. Closes-Bug: #1567926 Change-Id: I19b526e4eab223d2456f4bbc2f4ba50192ec0901