From 1749da2fbf6b395b1a2cd77f349e0bea5d2f4a5e Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 1 Apr 2022 13:41:14 +0200 Subject: docker: drop binary parts Big patch drops all mentions of binary images support. Suggestions are welcome how to split it into parts or handle better. Change-Id: I5d5a46c6ce7734ceb8b844e17b43e359d7cac6e3 --- docker/nova/nova-api/Dockerfile.j2 | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) (limited to 'docker/nova/nova-api') diff --git a/docker/nova/nova-api/Dockerfile.j2 b/docker/nova/nova-api/Dockerfile.j2 index 28b645ab3..992a69325 100644 --- a/docker/nova/nova-api/Dockerfile.j2 +++ b/docker/nova/nova-api/Dockerfile.j2 @@ -7,30 +7,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% import "macros.j2" as macros with context %} -{% if install_type == 'binary' %} - {% if base_package_type == 'rpm' %} - - {% set nova_api_packages = [ - 'openstack-nova-api' - ] %} - -{{ macros.install_packages(nova_api_packages | customizable("packages")) }} - - {% elif base_package_type == 'deb' %} - - {% set nova_api_packages = [ - 'nova-api', - 'python3-memcache' - ] %} - -{{ macros.install_packages(nova_api_packages | customizable("packages")) }} - {% endif %} -{% elif install_type == 'source' %} - - {% set nova_api_packages = [ - ] %} +{% set nova_api_packages = [ +] %} {{ macros.install_packages(nova_api_packages | customizable("packages")) }} -{% endif %} COPY extend_start.sh /usr/local/bin/kolla_nova_extend_start RUN chmod 755 /usr/local/bin/kolla_nova_extend_start -- cgit v1.2.3