Inefficient usage of cache due to "ADD plugins-archive /"
Bug #1839319 reported by
Radosław Piliszek
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Triaged
|
Medium
|
Unassigned |
Bug Description
A few images (-base) use:
ADD plugins-archive /
to deliver plugins to the build.
However, the way kolla builds that tarball invalidates the cache every time even with no changes to plugins. This is inefficient.
See:
https:/
and:
https:/
Changed in kolla: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
This seems to occur because git leaves some files in the .git folder that contain the time when the repository was cloned, among other things. Thus always invalidating cache. To fix this problem, different approach to including plugins into the image would have to be taken.