Commit Graph

3 Commits

Author SHA1 Message Date
Marcin Juszkiewicz 53443c5c71 Remove support for CentOS 7
With the move to RHEL/CentOS 8 we no longer have Python 2 in our images
so there is no need for checking which Python version (2.x or 3.x) is
used inside of containers.

We also no longer have to support yum as a value for
distro_package_manager.

Partially-Implements: blueprint centos-rhel-8

Change-Id: Ie45cf3465fedddbde7856961527421883ba3d5c9
2020-04-15 09:32:06 +00:00
Martin André d9cfacbc39 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
2018-03-21 20:26:38 +01:00
Martin André 0cba3b2ccd Permit changing yum configuration in the base image
This commit allows to configure yum settings via a yum.conf file that
is shipped in the base image and make it overridable with the
base_yum_conf jinja2 block.

Change-Id: I76a84ec008fec5696cadefdbdeb4204a32421c4b
Closes-Bug: #1698134
2017-06-15 15:44:41 +02:00