2015-09-17 09:35:33 -07:00
|
|
|
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
2015-11-23 12:38:58 +05:30
|
|
|
MAINTAINER {{ maintainer }}
|
2015-08-16 04:17:38 +00:00
|
|
|
|
2015-09-04 02:15:03 -07:00
|
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
2015-08-16 04:17:38 +00:00
|
|
|
|
|
|
|
RUN yum -y install \
|
|
|
|
hostname \
|
|
|
|
keepalived \
|
|
|
|
socat \
|
|
|
|
&& yum clean all
|
|
|
|
|
|
|
|
{% elif base_distro in ['ubuntu', 'debian'] %}
|
|
|
|
|
2016-05-17 10:04:59 +05:30
|
|
|
RUN apt-get -y install --no-install-recommends \
|
2015-08-22 14:23:44 +00:00
|
|
|
keepalived \
|
|
|
|
socat \
|
|
|
|
&& apt-get clean
|
2015-08-16 04:17:38 +00:00
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
2015-09-30 11:23:39 +00:00
|
|
|
COPY check_alive.sh /
|
2015-08-16 04:17:38 +00:00
|
|
|
|
2015-09-30 11:23:39 +00:00
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
|
|
|
RUN chmod 755 /usr/local/bin/kolla_extend_start /check_alive.sh
|
2015-08-28 13:17:41 +03:00
|
|
|
|
|
|
|
{{ include_footer }}
|