diff options
Diffstat (limited to 'docker/glance')
| -rw-r--r-- | docker/glance/glance-base/Dockerfile.j2 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/docker/glance/glance-base/Dockerfile.j2 b/docker/glance/glance-base/Dockerfile.j2 index bf079c528..3ca7e5133 100644 --- a/docker/glance/glance-base/Dockerfile.j2 +++ b/docker/glance/glance-base/Dockerfile.j2 @@ -9,11 +9,22 @@ RUN yum -y install \ python-oslo-i18n \ python-castellan \ python-cryptography \ - && yum clean all + python-rbd \ + python-rados \ + && yum clean all \ + && mkdir -p /etc/ceph/ {% endif %} {% elif install_type == 'source' %} - {% if base_distro in ['ubuntu', 'debian'] %} + {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} + +RUN yum -y install \ + python-rbd \ + python-rados \ + && yum clean all \ + && mkdir -p /etc/ceph/ + + {% elif base_distro in ['ubuntu', 'debian'] %} RUN apt-get install -y --no-install-recommends \ python-rbd \ |
