diff options
| author | Steven Dake <stdake@cisco.com> | 2017-12-26 16:18:14 +0800 |
|---|---|---|
| committer | Eduardo Gonzalez <dabarren@gmail.com> | 2018-01-21 19:19:57 +0100 |
| commit | a729d132d6a8a891dc0ab92c9bda094a59cea231 (patch) | |
| tree | c58c5c20944de52d4bdeeac6b5eb03d729d08661 /docker/kolla-toolbox | |
| parent | e2666505a68875856c1785a5a7e18480c75eebc3 (diff) | |
| download | kolla-a729d132d6a8a891dc0ab92c9bda094a59cea231.tar.gz kolla-a729d132d6a8a891dc0ab92c9bda094a59cea231.zip | |
Consume RDO packaged mariadb version
RDO packaged mariadb recieves far more testing and qualification
than any other mariadb package on CentOS. Lets use that instead
of a hard-pinned old version of mariadb from mariadb.org.
This patch also upgrade MariaDB from 10.0 to 10.1.20 for
RHEL/CentOS/Oracle Linux.
Depends-On: I8374ac2219ad7880970cd789727d01af7cac1077
Depends-On: Ia2acb09e877a586243fc1acb49d8d140cf27d7b5
Co-Authored-By: Xinliang Liu <xinliang.liu@linaro.org>
Change-Id: I071362fc1b8d60199a77e2fe0475d2b4c3b5341b
Diffstat (limited to 'docker/kolla-toolbox')
| -rw-r--r-- | docker/kolla-toolbox/Dockerfile.j2 | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/docker/kolla-toolbox/Dockerfile.j2 b/docker/kolla-toolbox/Dockerfile.j2 index 4af7a54c0..8ab872abe 100644 --- a/docker/kolla-toolbox/Dockerfile.j2 +++ b/docker/kolla-toolbox/Dockerfile.j2 @@ -20,27 +20,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'libxml2-devel', 'libxslt-devel', 'make', + 'mariadb', + 'mariadb-devel', 'openssh-clients', 'openssl-devel', 'python-devel' ] %} - # On x86-64 packages from external repos are used. lowercase names goes - # conflicts and build fails. Other architectures use standard CentOS - # packages. - {% if base_arch == 'x86_64' %} - {% set kolla_toolbox_packages = kolla_toolbox_packages + [ - 'MariaDB-client', - 'MariaDB-devel', - 'MariaDB-shared' - ] %} - {% else %} - {% set kolla_toolbox_packages = kolla_toolbox_packages + [ - 'mariadb', - 'mariadb-devel' - ] %} - {% endif %} - {% elif base_distro in ['debian', 'ubuntu'] %} {% set kolla_toolbox_packages = [ 'build-essential', |
