that caused centos-mirror-tools/download_mirror.sh to fail when executed
from a docker container created by tb.sh -- "rpm not found" for most
packages being downloaded.
This is because download_mirror.sh without additional arguments expects
toCOPY/yum.repos.d/ files to have been copied to /etc/yum.repos.d/ in the
docker container by default.
Reviewed: https:/ /review. opendev. org/738484 /git.openstack. org/cgit/ starlingx/ tools/commit/ ?id=aa23b041b13 3c032efce238afb 529e840fac58a8
Committed: https:/
Submitter: Zuul
Branch: master
commit aa23b041b133c03 2efce238afb529e 840fac58a8
Author: Davlet Panech <email address hidden>
Date: Mon Jun 29 10:45:31 2020 -0400
Dockerfile: add mirror repos to global yum config
Copy mirror repo files to /etc/yum.repos.d because tb.sh needs them.
This change fixes a problem introduced by
Commit: 78263e8784c5f59 6af2a20b9c6e214 fc6fea4878
Dockerfile: pin centos & epel repo versions
that caused centos- mirror- tools/download_ mirror. sh to fail when executed
from a docker container created by tb.sh -- "rpm not found" for most
packages being downloaded.
This is because download_mirror.sh without additional arguments expects yum.repos. d/ files to have been copied to /etc/yum.repos.d/ in the
toCOPY/
docker container by default.
Change-Id: If214aea6560632 837d0f196c21801 fc2d06c8259
Closes-Bug: 1885624
Signed-off-by: Davlet Panech <email address hidden>