aboutsummaryrefslogtreecommitdiff
path: root/docker/ec2-api
diff options
context:
space:
mode:
Diffstat (limited to 'docker/ec2-api')
-rw-r--r--docker/ec2-api/Dockerfile.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/ec2-api/Dockerfile.j2 b/docker/ec2-api/Dockerfile.j2
index c461af526..fd8a1d560 100644
--- a/docker/ec2-api/Dockerfile.j2
+++ b/docker/ec2-api/Dockerfile.j2
@@ -9,12 +9,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if install_type == 'binary' %}
- {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
+ {% if base_package_type == 'rpm' %}
{% set ec2_api_packages = [
'openstack-ec2-api'
] %}
- {% elif base_distro in ['debian', 'ubuntu'] %}
+ {% elif base_package_type == 'deb' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false