diff options
| author | Artur Zarzycki <azarzycki@mirantis.com> | 2015-12-28 11:47:27 +0100 |
|---|---|---|
| committer | Artur Zarzycki <azarzycki@mirantis.com> | 2015-12-30 00:11:42 +0100 |
| commit | 918cd10bb06964d067a2afdcd6d13c3aa4b2ae7f (patch) | |
| tree | 7a15da11725e8112c6d28fa6b6a46ef3333f8b52 /docker/openstack-base/Dockerfile.j2 | |
| parent | c5c5c6e444287323a13c0558ac673ce21d9e3bb2 (diff) | |
| download | kolla-918cd10bb06964d067a2afdcd6d13c3aa4b2ae7f.tar.gz kolla-918cd10bb06964d067a2afdcd6d13c3aa4b2ae7f.zip | |
Base and openstack-base ubuntu binary containers.
Change-Id: I93d7f4227f6b4ac04e1af5afd5e46bdbaba84b4f
Partially-Implements: blueprint binary-ubuntu
Diffstat (limited to 'docker/openstack-base/Dockerfile.j2')
| -rw-r--r-- | docker/openstack-base/Dockerfile.j2 | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2 index 7d87a4bd2..35880a36b 100644 --- a/docker/openstack-base/Dockerfile.j2 +++ b/docker/openstack-base/Dockerfile.j2 @@ -10,8 +10,8 @@ RUN yum -y install \ MariaDB-shared \ openssl \ && yum clean all -{% endif %} +{% endif %} {% if install_type == 'binary' %} {% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %} @@ -37,6 +37,39 @@ RUN yum -y install \ python-keystoneauth1 \ && yum clean all + {% elif base_distro in ['ubuntu'] %} + +# This will prevent questions from being asked during the install +ENV DEBIAN_FRONTEND noninteractive +COPY oslo-log-bug1499620.patch /var/lib/kolla/oslo-log-bug1499620.patch +# There is no python-tuskarclient in ubuntu 14.04 +RUN apt-get install -y --no-install-recommends \ + python-barbicanclient \ + python-ceilometerclient \ + python-congressclient \ + python-designateclient \ + python-heatclient \ + python-ironicclient \ + python-magnumclient \ + python-manilaclient \ + python-mistralclient \ + python-muranoclient \ + python-pip \ + python-saharaclient \ + python-swiftclient \ + python-troveclient \ + python-zaqarclient \ + python-openstackclient \ + python-pymysql \ + python-keystoneclient \ + python-oslo.log \ + openssl \ + patch \ + && apt-get clean + +# python-oslo-log patch to bug 1499620 (it fixed in python-oslo-log 1.11.1) +RUN patch -d /usr/lib/python2.7/site-packages -p1 < /var/lib/kolla/oslo-log-bug1499620.patch + {% endif %} {% elif install_type == 'source' %} {% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %} |
