diff options
| author | rthallisey <rhallise@redhat.com> | 2015-08-19 12:37:27 -0400 |
|---|---|---|
| committer | Sam Yaple <sam@yaple.net> | 2015-08-30 07:54:01 +0000 |
| commit | 63a7d01639e9a48c20ae1ae368cfafad7ac6cd87 (patch) | |
| tree | e39a2dfc7261bad13cd25e48979dff848d35e49c /docker/ceph/ceph-base | |
| parent | 2d4a261f2295f0db9b7fceee25c05fb5442773fa (diff) | |
| download | kolla-63a7d01639e9a48c20ae1ae368cfafad7ac6cd87.tar.gz kolla-63a7d01639e9a48c20ae1ae368cfafad7ac6cd87.zip | |
Ceph container
Running ceph in a container requires 2 pieces:
- ceph-mon
- objectstorage-daemon (osd)
Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: I33e5baf72e4bc493889da0d796041acfd1a2cad3
Partially-Implements: blueprint ceph-container
Diffstat (limited to 'docker/ceph/ceph-base')
| -rw-r--r-- | docker/ceph/ceph-base/Dockerfile.j2 | 17 |
1 files changed, 17 insertions, 0 deletions
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 %} |
