
There is a time once every 2 years when ubuntu team releases new LTS release. And then UCA joins with binary packages for current OpenStack development cycle. It is this time for Ubuntu 20.04 'focal'. Depends-On: https://review.opendev.org/745156 Change-Id: I045aa6b4b4fd83fbe7d1fda89549f0ef1e88ec12
39 lines
1.1 KiB
Django/Jinja
39 lines
1.1 KiB
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
|
|
{% block labels %}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
{% endblock %}
|
|
|
|
{% block swift_proxy_server_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_package_type == 'rpm' %}
|
|
{% set swift_proxy_server_packages = [
|
|
'openstack-swift-proxy',
|
|
'python3-ceilometermiddleware'
|
|
] %}
|
|
{% elif base_package_type == 'deb' %}
|
|
{% set swift_proxy_server_packages = [
|
|
'swift-proxy',
|
|
'python3-ceilometermiddleware'
|
|
] %}
|
|
{% endif %}
|
|
|
|
{{ macros.install_packages(swift_proxy_server_packages | customizable("packages")) }}
|
|
|
|
{% elif install_type == 'source' %}
|
|
|
|
{% set swift_proxy_server_pip_packages = [
|
|
'ceilometermiddleware'
|
|
] %}
|
|
|
|
RUN {{ macros.install_pip(swift_proxy_server_pip_packages | customizable("pip_packages")) }}
|
|
|
|
{% endif %}
|
|
|
|
{% block swift_proxy_server_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER swift
|