aboutsummaryrefslogtreecommitdiff
path: root/docker/macros.j2
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2017-02-12 18:36:51 +0100
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2017-04-04 22:48:18 +0200
commit69fef5cd59286b5eeaa4deaf9da97511413ed653 (patch)
tree50a557181cd76f1ac6df80b47665ab4c4d23d732 /docker/macros.j2
parent0b6b2c40dd320f4a21a2e5acd8a33b8e4f0cf691 (diff)
downloadkolla-69fef5cd59286b5eeaa4deaf9da97511413ed653.tar.gz
kolla-69fef5cd59286b5eeaa4deaf9da97511413ed653.zip
debian: enable all images enabled for Ubuntu
Debian support is not maintained in Kolla so it got a bit behind Ubuntu one. This changeset enables Debian for all images. Jessie (even with backports) may be too old for some images though. Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order like it is done for RPM distributions. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
Diffstat (limited to 'docker/macros.j2')
-rw-r--r--docker/macros.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/macros.j2 b/docker/macros.j2
index 05aef9dcb..24083bcc0 100644
--- a/docker/macros.j2
+++ b/docker/macros.j2
@@ -2,7 +2,7 @@
{% if packages is defined and packages|length > 0 -%}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] -%}
RUN yum --setopt skip_missing_names_on_install=False -y install {{ packages | join(' ') }} && yum clean all
- {%- elif base_distro in ['ubuntu', 'debian'] -%}
+ {%- elif base_distro in ['debian', 'ubuntu'] -%}
{#-
debian_package_install is a utility method to build up an appropriate
set of commands to install packages in a debian-based environment that