aboutsummaryrefslogtreecommitdiff
path: root/docker/multipathd/Dockerfile.j2
blob: 9c91f91f326449bd423da9ca784117f3fbb97e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}

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

RUN yum -y install \
        device-mapper-multipath \
    && yum clean all

{% elif base_distro in ['ubuntu', 'debian'] %}

RUN apt-get -y install --no-install-recommends \
        multipath-tools \
    && apt-get clean

{% endif %}

{{ include_footer }}