diff options
Diffstat (limited to 'docker/multipathd/Dockerfile.j2')
| -rw-r--r-- | docker/multipathd/Dockerfile.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docker/multipathd/Dockerfile.j2 b/docker/multipathd/Dockerfile.j2 new file mode 100644 index 000000000..9c91f91f3 --- /dev/null +++ b/docker/multipathd/Dockerfile.j2 @@ -0,0 +1,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 }} |
