aboutsummaryrefslogtreecommitdiff
path: root/docker/ceph/ceph-base/Dockerfile.j2
blob: b18890b5d3e5c11f68525948790852d9fb332008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)

{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

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 %}