Skip the install of documentation files from rpm

This reduces the overall size of the kolla images by 3 percents and
improves the build and push time by 5 percents according to my
measurements.

Compare results with [1] and without [2] the patch applied.

[1] http://paste.openstack.org/show/707910/
[2] http://paste.openstack.org/show/707907/

Change-Id: I4932b6760af5b5eef9ec79b54b4b2f06eb2a4784
This commit is contained in:
Martin André 2018-02-22 18:51:50 +01:00
parent d37036a6e2
commit d9cfacbc39
2 changed files with 5 additions and 0 deletions

View File

@ -7,3 +7,4 @@ gpgcheck=1
plugins=1
installonly_limit=0
skip_missing_names_on_install=False
tsflags=nodocs

View File

@ -0,0 +1,4 @@
---
features:
- RPM based container images no longer include package documentation. This
results in smaller images and faster builds.