diff --git a/docker/glance/glance-base/Dockerfile.j2 b/docker/glance/glance-base/Dockerfile.j2 index 8a893ad021..bb310fef85 100644 --- a/docker/glance/glance-base/Dockerfile.j2 +++ b/docker/glance/glance-base/Dockerfile.j2 @@ -14,6 +14,18 @@ RUN yum -y install \ && yum clean all \ && mkdir -p /etc/ceph/ + {% elif base_distro in ['ubuntu'] %} + +RUN apt-get install -y --no-install-recommends \ + glance \ + python-oslo-i18n \ + python-castellan \ + python-cryptography \ + python-rbd \ + python-rados \ + && apt-get clean \ + && mkdir -p /etc/ceph/ + {% endif %} {% elif install_type == 'source' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}