2015-09-17 09:35:33 -07:00
|
|
|
FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
|
2015-11-23 12:38:58 +05:30
|
|
|
MAINTAINER {{ maintainer }}
|
2015-08-16 03:30:08 +00:00
|
|
|
|
|
|
|
{% if install_type == 'binary' %}
|
2015-09-04 02:15:03 -07:00
|
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
2015-08-16 03:30:08 +00:00
|
|
|
|
|
|
|
RUN yum -y install openstack-nova-console \
|
|
|
|
&& yum clean all
|
|
|
|
|
2015-12-30 02:23:33 +01:00
|
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
|
|
|
|
|
|
RUN apt-get install -y --no-install-recommends \
|
|
|
|
nova-consoleauth \
|
|
|
|
python-memcache \
|
|
|
|
&& apt-get clean
|
|
|
|
|
2015-08-16 03:30:08 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
2015-08-28 13:17:41 +03:00
|
|
|
{{ include_footer }}
|
2015-11-30 11:28:58 +05:30
|
|
|
|
|
|
|
USER nova
|