aboutsummaryrefslogtreecommitdiff
path: root/docker/ceph/ceph-base
diff options
context:
space:
mode:
Diffstat (limited to 'docker/ceph/ceph-base')
-rw-r--r--docker/ceph/ceph-base/Dockerfile.j217
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 %}