aboutsummaryrefslogtreecommitdiff
path: root/docker/swift/swift-base
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/swift/swift-base
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/swift/swift-base')
-rw-r--r--docker/swift/swift-base/Dockerfile.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/swift/swift-base/Dockerfile.j2 b/docker/swift/swift-base/Dockerfile.j2
index a037a7f71..895d609bc 100644
--- a/docker/swift/swift-base/Dockerfile.j2
+++ b/docker/swift/swift-base/Dockerfile.j2
@@ -11,12 +11,12 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set swift_base_packages = [
'openstack-swift'
- ]
+ ]
%}
- {% elif base_distro in ['ubuntu'] %}
+ {% elif base_distro in ['debian', 'ubuntu'] %}
{% set swift_base_packages = [
'swift'
- ]
+ ]
%}
{% endif %}
@@ -24,7 +24,7 @@ MAINTAINER {{ maintainer }}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set swift_base_packages = ['liberasurecode-devel'] %}
- {% elif base_distro in ['ubuntu', 'debian'] %}
+ {% elif base_distro in ['debian', 'ubuntu'] %}
{% set swift_base_packages = ['liberasurecode-dev'] %}
{% endif %}