From 7cc7ecdadeec4cbba8bf54700eb9b566c8f7a602 Mon Sep 17 00:00:00 2001 From: Artur Zarzycki Date: Mon, 28 Dec 2015 15:04:09 +0100 Subject: [PATCH] Glance ubuntu binary container Change-Id: Ifad08d368a6e3309a89f7f77c06110aac82a475a Partially-Implements: blueprint binary-ubuntu --- docker/glance/glance-base/Dockerfile.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker/glance/glance-base/Dockerfile.j2 b/docker/glance/glance-base/Dockerfile.j2 index 1e8e9838be..c4bb5261a2 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'] %}