Skip to content
Snippets Groups Projects
Dockerfile.j2 454 B
Newer Older
  • Learn to ignore specific revisions
  • FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
    
    MAINTAINER {{ maintainer }}
    
    
    {% if install_type == 'binary' %}
    
        {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
    
    Sam Yaple's avatar
    Sam Yaple committed
    RUN yum -y install openstack-swift-container \
    
        {% elif base_distro in ['ubuntu'] %}
    
    RUN apt-get install -y --no-install-recommends \
            swift-container \
        && apt-get clean
    
    
        {% endif %}
    {% endif %}
    
    {{ include_footer }}