From 63a7d01639e9a48c20ae1ae368cfafad7ac6cd87 Mon Sep 17 00:00:00 2001 From: rthallisey Date: Wed, 19 Aug 2015 12:37:27 -0400 Subject: Ceph container Running ceph in a container requires 2 pieces: - ceph-mon - objectstorage-daemon (osd) Co-Authored-By: Sam Yaple Change-Id: I33e5baf72e4bc493889da0d796041acfd1a2cad3 Partially-Implements: blueprint ceph-container --- docker/ceph/ceph-base/Dockerfile.j2 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker/ceph/ceph-base/Dockerfile.j2 (limited to 'docker/ceph/ceph-base') diff --git a/docker/ceph/ceph-base/Dockerfile.j2 b/docker/ceph/ceph-base/Dockerfile.j2 new file mode 100644 index 000000000..fa7ea69a6 --- /dev/null +++ b/docker/ceph/ceph-base/Dockerfile.j2 @@ -0,0 +1,17 @@ +FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }} +MAINTAINER Kolla Project (https://launchpad.net/kolla) + +{% if base_distro in ['fedora', 'centos', 'oraclelinux'] %} + +RUN yum -y install ceph \ + && yum clean all + +{% elif base_distro in ['ubuntu', 'debian'] %} + +RUN apt-get install -y --no-install-recommends \ + ceph \ + parted \ + hdparm \ + && apt-get clean + +{% endif %} -- cgit v1.2.3