2015-09-17 09:35:33 -07:00
|
|
|
FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
|
2015-11-23 12:38:58 +05:30
|
|
|
MAINTAINER {{ maintainer }}
|
2015-08-17 06:13:15 +02:00
|
|
|
|
|
|
|
{% if install_type == 'binary' %}
|
2015-09-04 02:15:03 -07:00
|
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
2015-08-17 06:13:15 +02:00
|
|
|
|
2016-04-12 22:04:52 +05:30
|
|
|
RUN yum -y install \
|
|
|
|
openstack-swift-proxy \
|
2015-09-30 11:23:39 +00:00
|
|
|
&& yum clean all
|
2015-08-17 06:13:15 +02:00
|
|
|
|
2016-02-08 12:22:14 +05:30
|
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
|
|
|
2016-05-17 10:04:59 +05:30
|
|
|
RUN apt-get -y install --no-install-recommends \
|
2016-02-08 12:22:14 +05:30
|
|
|
swift-proxy \
|
|
|
|
&& apt-get clean
|
|
|
|
|
2015-08-17 06:13:15 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
2015-08-28 13:17:41 +03:00
|
|
|
{{ include_footer }}
|
2016-03-04 09:17:46 +05:30
|
|
|
|
|
|
|
USER swift
|