aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorMartin André <m.andre@redhat.com>2018-02-22 18:51:50 +0100
committerMartin André <m.andre@redhat.com>2018-03-21 20:26:38 +0100
commitd9cfacbc39e96f98440a00eb6bd82dc13d58bbf5 (patch)
treeb99191904f3a582e7c7a2b3d06aa7978c09b2f47 /docker
parentd37036a6e23d8b01284021af60201bc3781abf15 (diff)
downloadkolla-d9cfacbc39e96f98440a00eb6bd82dc13d58bbf5.tar.gz
kolla-d9cfacbc39e96f98440a00eb6bd82dc13d58bbf5.zip
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
Diffstat (limited to 'docker')
-rw-r--r--docker/base/yum.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/base/yum.conf b/docker/base/yum.conf
index 6714771e8..cac98d8de 100644
--- a/docker/base/yum.conf
+++ b/docker/base/yum.conf
@@ -7,3 +7,4 @@ gpgcheck=1
plugins=1
installonly_limit=0
skip_missing_names_on_install=False
+tsflags=nodocs