aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorArtur Zarzycki <azarzycki@mirantis.com>2015-12-28 15:04:09 +0100
committerArtur Zarzycki <azarzycki@mirantis.com>2015-12-30 09:01:55 +0100
commit7cc7ecdadeec4cbba8bf54700eb9b566c8f7a602 (patch)
tree4db728e03c6c07bcd6f009b77932aac5b6c366cb /docker
parentc5c5c6e444287323a13c0558ac673ce21d9e3bb2 (diff)
downloadkolla-7cc7ecdadeec4cbba8bf54700eb9b566c8f7a602.tar.gz
kolla-7cc7ecdadeec4cbba8bf54700eb9b566c8f7a602.zip
Glance ubuntu binary container
Change-Id: Ifad08d368a6e3309a89f7f77c06110aac82a475a Partially-Implements: blueprint binary-ubuntu
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'] %}