aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/glance/glance-base/Dockerfile.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/glance/glance-base/Dockerfile.j2 b/docker/glance/glance-base/Dockerfile.j2
index 1e8e9838b..c4bb5261a 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'] %}