kolla-ansible/docker/mesos/mesos-base/Dockerfile.j2
Swapnil Kulkarni (coolsvap) 349d32fcec Update Mesos dockerfiles for formatting
Change-Id: I933c483912e4a7c5b59623357329c98961dfdb57
Partial-Bug:#1569417
2016-04-12 21:49:00 +05:30

17 lines
369 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}mesosphere-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install \
mesos \
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
mesos \
&& apt-get clean
{% endif %}